grunt-cache-bust icon indicating copy to clipboard operation
grunt-cache-bust copied to clipboard

Encoding setting ignored when reading and writing the files

Open lavignepatrice opened this issue 7 years ago • 0 comments

The options.encoding setting is only used in the function generateFileHash

The documentation tells that it will be used when reading and writing the files.

You should pass the encoding setting to the grunt.file.read and grunt.file.write calls in the function replaceInFile

lavignepatrice avatar Nov 03 '16 18:11 lavignepatrice