Update replace-all-imports-in-current-layer.js

This commit is contained in:
oceanapplications 2017-10-19 03:37:47 -04:00 committed by GitHub
parent 652e114c74
commit 6cc5b58d5f
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ function replaceAllImportsInCurrentLayer(i, importObjs, updatedFileContent, dir,
if (process.platform === "win32") {
directorySeperator = "\\";
} else {
directorySeperator = "/";
directorySeperator = "/";
}
findFile.byNameAndReplace(dir.substring(0, dir.lastIndexOf(directorySeperator)), path.basename(importObj.dependencyPath), updatedFileContent, importStatement, function(_updatedFileContent) {