Skip to content

Commit

Permalink
Add missing onExecute
Browse files Browse the repository at this point in the history
  • Loading branch information
D4N14L committed May 7, 2022
1 parent de2ec50 commit c01914a
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ class InternalScopedCommandLineParser extends CommandLineParser {
protected onDefineParameters(): void {
// No-op. Parameters are manually defined in the constructor.
}

protected async onExecute(): Promise<void> {
// override
// Only set if we made it this far, which may not be the case if an error occurred or
// if '--help' was specified.
this._canExecute = true;
}
}

/**
Expand Down

0 comments on commit c01914a

Please sign in to comment.