Skip to content
Myr

Merge pull request #270 from zhiyelee/fix-subCommand

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix the reported bug about sub command in #227

authored by Thomas Geraghty · committed by Thomas Geraghty · parents 4fd6aa6, f4a8bf2 · Browse files · 2 files+15 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+15 added−1 removed

  • tests:+14 added−0 removed
  • other:+1 added−1 removed

2 files+15 added−1 removed

added:test/test.command.action.js+14 added
modified:index.js+1 added-1 removed
243 unmodified lines
244 } else {245 args.push(self);246 }247248 fn.apply(this, args);248 fn.apply(self, args);249 };250 this.parent.on(this._name, listener);251 if (this._alias) this.parent.on(this._alias, listener);252 return this;
670 unmodified lines