owl-cli 6.84.0 → 6.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/owl.js +4 -4
- package/package.json +1 -1
package/bin/owl.js
CHANGED
|
@@ -92,7 +92,7 @@ function processOwl(owl, outdir, templatePath, buildType, inputFile) {
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
// 处理templatePath里面的每一个文件
|
|
95
|
-
var fullTemplatePath =
|
|
95
|
+
var fullTemplatePath = templatePath;
|
|
96
96
|
readdirSync(fullTemplatePath).map(name => {
|
|
97
97
|
if (name === 'node_modules') {
|
|
98
98
|
return
|
|
@@ -259,9 +259,9 @@ var outPath = owlconfig.generatedApps
|
|
|
259
259
|
var templatePath = owlconfig.templates
|
|
260
260
|
var buildType = owlconfig.buildType;
|
|
261
261
|
var project = owlconfig.project;
|
|
262
|
-
buildProperties = owlconfig.buildProperties
|
|
263
|
-
libpath = owlconfig.libpath
|
|
264
|
-
|
|
262
|
+
buildProperties = resolve(cwd,owlconfig.buildProperties);
|
|
263
|
+
libpath = resolve(cwd,owlconfig.libpath);
|
|
264
|
+
templatePath = resolve(cwd, templatePath);
|
|
265
265
|
var fulloutPath = resolve(cwd,outPath);
|
|
266
266
|
|
|
267
267
|
mkdir(fulloutPath);
|