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 739784a commit c0e94ba
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}: ${status}`)
super(error || `${exitCode}: ${exitCode}`)
addExitCode(this)
this.code = 'EEXIT'
}
Expand Down

0 comments on commit c0e94ba

Please sign in to comment.