enonic-wizardry
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -100,3 +100,8 @@ "use strict"; | ||
cmd.parse(argv); | ||
var projectMixins = cmd.project ? listXmlFiles(path.join(cmd.project, mixinDir)) : []; | ||
var absoluteMixinDirPath = cmd.project | ||
? path.join(cmd.project, mixinDir) | ||
: undefined; | ||
var projectMixins = absoluteMixinDirPath && fs.existsSync(absoluteMixinDirPath) | ||
? listXmlFiles(absoluteMixinDirPath) | ||
: []; | ||
var mixinFiles = cmd.mixin.concat(projectMixins); | ||
@@ -103,0 +108,0 @@ for (var _i = 0, mixinFiles_1 = mixinFiles; _i < mixinFiles_1.length; _i++) { |
{ | ||
"name": "enonic-wizardry", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Functional utility library for Enonic XP", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27590
608