Skip to content

Commit

Permalink
chore: remove unnecessary exit definition
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele committed Nov 9, 2023
1 parent 6cc03e7 commit 8990432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export type Validation = {
export class CLIParseError extends CLIError {
public parse: CLIParseErrorOptions['parse']

constructor(options: CLIParseErrorOptions & {exit?: number; message: string}) {
constructor(options: CLIParseErrorOptions & {message: string}) {
options.message += '\nSee more help with --help'
super(options.message, {exit: options.exit})
this.parse = options.parse
Expand Down

0 comments on commit 8990432

Please sign in to comment.