Skip to content

Commit 216425f

Browse files
aivuss0ph1e
authored andcommitted
Fix JSHint issues (#61)
1 parent 6b0442b commit 216425f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/file-handlers/css.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var utils = require('../utils');
55

66
function changeExactlyMatchedUrl (text, oldUrl, newUrl) {
77
// starts with ' " ( ends with ' " )
8-
var exactlyMatchedPattern = format('([\'"\(\s])%s([\'"\)\s])', _.escapeRegExp(oldUrl));
8+
var exactlyMatchedPattern = format('([\'"\\(\\s])%s([\'"\\)\\s])', _.escapeRegExp(oldUrl));
99
var exactlyMatchedRegexp = new RegExp(exactlyMatchedPattern, 'g');
1010
text = text.replace(exactlyMatchedRegexp, function changeUrl (match, g1, g2) {
1111
return g1 + newUrl + g2;

0 commit comments

Comments
 (0)