mythix 2.4.8 → 2.4.9
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/package.json +1 -1
- package/src/cli/cli-utils.js +2 -1
package/package.json
CHANGED
package/src/cli/cli-utils.js
CHANGED
|
@@ -367,8 +367,9 @@ function spawnCommand(args, options, _config) {
|
|
|
367
367
|
});
|
|
368
368
|
}
|
|
369
369
|
|
|
370
|
-
async function executeCommand(configPath, applicationCommandsPath, yargsPath, simpleYargsPath, argv, commandPath, command,
|
|
370
|
+
async function executeCommand(configPath, applicationCommandsPath, yargsPath, simpleYargsPath, argv, commandPath, command, _config) {
|
|
371
371
|
try {
|
|
372
|
+
let config = _config || {};
|
|
372
373
|
let Klass = CommandBase.commands[command];
|
|
373
374
|
let nodeArguments = ((config.runtime || 'node') === 'node') ? (Klass.nodeArguments || []) : [];
|
|
374
375
|
let args = nodeArguments.concat([ commandPath ], argv);
|