Skip to content

Commit

Permalink
fix regex #9
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Apr 11, 2013
1 parent ed987c8 commit 1dbb43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/lib/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ exports.init = function(grunt) {
if (basefile) {
var altId = path.join(path.dirname(fpath), id);
altId = path.relative(path.dirname(rootpath), altId);
altId = altId.replace(/\\/, '/');
altId = altId.replace(/\\/g, '/');
if (altId.charAt(0) !== '.') {
altId = './' + altId;
}
Expand Down

0 comments on commit 1dbb43b

Please sign in to comment.