Fix regular expression when dealing with lodash touched source.
This commit is contained in:
parent
38d9cab887
commit
73215fc73d
@ -54,7 +54,7 @@ module.exports = function(grunt) {
|
||||
}
|
||||
|
||||
if (options.prettify) {
|
||||
compiled = compiled.replace(new RegExp(lf, 'g'), '');
|
||||
compiled = compiled.replace(new RegExp('\n', 'g'), '');
|
||||
}
|
||||
filename = processName(filepath);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user