Skip to content

Commit

Permalink
fix: Use Deno EventEmitter polyfill (#66)
Browse files Browse the repository at this point in the history
Closes #58


Co-authored-by: EGOIST <[email protected]>
  • Loading branch information
auxves and egoist authored Mar 6, 2020
1 parent 809db10 commit aa8f868
Show file tree
Hide file tree
Showing 6 changed files with 523 additions and 107 deletions.
2 changes: 2 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -622,9 +622,11 @@ class CAC extends events.EventEmitter {
}
if (this.options.help && this.showHelpOnExit) {
this.outputHelp();
run = false;
}
if (this.options.version && this.showVersionOnExit) {
this.outputVersion();
run = false;
}
const parsedArgv = { args: this.args, options: this.options };
if (run) {
Expand Down
Loading

0 comments on commit aa8f868

Please sign in to comment.