Skip to content

Commit aa8f868

Browse files
auxvesegoist
andauthored
fix: Use Deno EventEmitter polyfill (#66)
Closes #58 Co-authored-by: EGOIST <0x142857@gmail.com>
1 parent 809db10 commit aa8f868

File tree

6 files changed

+523
-107
lines changed

6 files changed

+523
-107
lines changed

dist/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,9 +622,11 @@ class CAC extends events.EventEmitter {
622622
}
623623
if (this.options.help && this.showHelpOnExit) {
624624
this.outputHelp();
625+
run = false;
625626
}
626627
if (this.options.version && this.showVersionOnExit) {
627628
this.outputVersion();
629+
run = false;
628630
}
629631
const parsedArgv = { args: this.args, options: this.options };
630632
if (run) {

0 commit comments

Comments
 (0)