Skip to content

Commit

Permalink
fix(windows): Fixed variable for replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Roberts committed Sep 14, 2016
1 parent b367b9b commit 2d321ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Expand Up @@ -32,7 +32,7 @@ module.exports.getFilename = function(resourcePath) {

module.exports.normalizeFilePath = function(filePath) {
if (os.platform() === 'win32') {
return newPath.replace(/\//g, '\\\\');
return filePath.replace(/\//g, '\\');
}

return filePath;
Expand Down

0 comments on commit 2d321ef

Please sign in to comment.