Closed emmercm closed 5 years ago
Hi @emmercm, thanks for reporting this! I actually haven't used metalsmith in a while, and can't make promises of when I'll get to working on this as it will take me a bit to refresh my memory. Would you feel comfortable in making a PR?
If I understood you correctly, the problem arises when renamedEntry === file
, is that right?
I can definitely make the PR, though it might take me a couple extra days.
That's right - the thought is I'd only delete files[file]
if file !== renamedEntry
.
Closed by #5
I'm attempting to use this plugin like:
But because of the line in the plugin:
Any filenames that don't change end up getting removed from the file list.
I'd expect them to not be removed.