-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
-
Empty show more show less
-
Basel 53
-
1
When using the command create-light-module with the -p option, it fails, if the path is absolute.
(-p works fine for the other commands with both relative and absolute paths).
cmeier@chmsLittleMacBookPro ~/tmp/mgnl-cli-tests $ mgnl create-light-module yyy -p /Users/cmeier/tmp/mgnl-cli-tests/ undefined /usr/local/lib/node_modules/@magnolia/cli/bin/mgnl-create-light-module.js:19 if (e.displayHelp) { ^ TypeError: Cannot read property 'displayHelp' of undefined at Object.<anonymous> (/usr/local/lib/node_modules/@magnolia/cli/bin/mgnl-create-light-module.js:19:8) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Function.Module.runMain (module.js:441:10) at startup (node.js:139:18) at node.js:968:3 cmeier@chmsLittleMacBookPro ~/tmp/mgnl-cli-tests $
The remaining question:
p will be the parent directory of the new light module right? (Or the directory of the new module itself?)
Acceptance criteria