Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: fixed ExitError
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 5, 2018
1 parent c0e94ba commit 7049d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class ExitError extends Error {
if (error instanceof Error) {
return addExitCode(error as any)
}
super(error || `${exitCode}: ${exitCode}`)
super(error || `EEXIT: ${exitCode}`)
addExitCode(this)
this.code = 'EEXIT'
}
Expand Down

0 comments on commit 7049d27

Please sign in to comment.