Skip to content

Commit 2d321ef

Browse files
author
Brandon Roberts
committedSep 14, 2016
fix(windows): Fixed variable for replacement
1 parent b367b9b commit 2d321ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports.getFilename = function(resourcePath) {
3232

3333
module.exports.normalizeFilePath = function(filePath) {
3434
if (os.platform() === 'win32') {
35-
return newPath.replace(/\//g, '\\\\');
35+
return filePath.replace(/\//g, '\\');
3636
}
3737

3838
return filePath;

0 commit comments

Comments
 (0)