evaengine 1.0.5 → 1.0.6

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/engine.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evaengine",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "EvaEngine for Node.js, a micro service development engine",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/engine.js CHANGED
@@ -175,7 +175,7 @@ export default class EvaEngine {
175
175
  || !{}.hasOwnProperty.call(command, 'getDescription')) {
176
176
  throw new RuntimeException('Command require getSpec and getDescription static method');
177
177
  }
178
- const { argv } = yargs([])
178
+ const { argv } = yargs(process.argv.slice(2))
179
179
  .command(commandName, command.getDescription(), Object.assign({
180
180
  verbose: {
181
181
  alias: 'v',