Skip to content

Commit

Permalink
fix: export pretty printable error interface (jprichardson#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
chadian authored Jun 25, 2020
1 parent 3aeb2e2 commit 6487956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {CLIError, addOclifExitCode, OclifError} from './errors/cli'
import {ExitError} from './errors/exit'
import prettyPrint, {PrettyPrintableError, applyPrettyPrintOptions} from './errors/pretty-print'

export {prettyPrint}
export {PrettyPrintableError}

export function exit(code = 0): never {
throw new ExitError(code)
Expand Down

0 comments on commit 6487956

Please sign in to comment.