mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +00:00
Use 'utf8', which Node uses, instead of 'utf-8'.
This commit is contained in:
@@ -22,6 +22,6 @@ var reLine = /.*/gm;
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
fs.writeFileSync(filePath, fs.readFileSync(filePath, 'utf-8').replace(pattern, function(match) {
|
||||
fs.writeFileSync(filePath, fs.readFileSync(filePath, 'utf8').replace(pattern, function(match) {
|
||||
return match.replace(reLine, '');
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user