@zhennann/common-bin 2.9.10 → 3.0.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.
Files changed (2) hide show
  1. package/lib/command.js +1 -0
  2. package/package.json +1 -1
package/lib/command.js CHANGED
@@ -236,6 +236,7 @@ class CommonBin {
236
236
 
237
237
  debug('[%s] dispatch to subcommand `%s` -> `%s` with %j', this.constructor.name, commandName, Command.name, rawArgv);
238
238
  const command = this.getSubCommandInstance(Command, rawArgv);
239
+ this.subCommand = command; // by zhennann
239
240
  yield command[DISPATCH]();
240
241
  return;
241
242
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhennann/common-bin",
3
- "version": "2.9.10",
3
+ "version": "3.0.0",
4
4
  "description": "Abstraction bin tool",
5
5
  "main": "index.js",
6
6
  "dependencies": {