replace-in-file
replace-in-file copied to clipboard
Pass filename to custom processors
I've got some use cases where I need to know which file is currently handled by a custom processor. Unfortunately the filename is not passed but it's almost there (see https://github.com/adamreisnz/replace-in-file/blob/main/lib/helpers/run-processors.js).
Would you like to see a PR for that or does approach not fit to the idea of the lib?