hanbao-utils
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -239,4 +239,7 @@ /** | ||
let outerWorkingDir = options.workingDir | ||
options.workingDir= path.dirname(moduleFilePath) | ||
if(moduleFilePath){ | ||
options.workingDir= path.dirname(moduleFilePath) | ||
} | ||
for (let submodule of processedModule) { | ||
@@ -246,3 +249,6 @@ _recursiveLoadHanbaoModule(submodule,options,flatternedModules) | ||
options.trace.pop(processedModule) | ||
options.workingDir = outerWorkingDir | ||
if(moduleFilePath){ | ||
options.workingDir = outerWorkingDir | ||
} | ||
} | ||
@@ -249,0 +255,0 @@ else { |
{ | ||
"name": "hanbao-utils", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "repository": { |
7713
246