Update replace-all-imports-in-current-layer.js
This commit is contained in:
parent
652e114c74
commit
6cc5b58d5f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue