From c0e94ba2d23d7c61fde8f9b6004169da9348ed5f Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdxcode@users.noreply.github.com> Date: Sun, 4 Feb 2018 22:00:40 -0800 Subject: [PATCH] fix: fixed ExitError --- src/errors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/errors.ts b/src/errors.ts index 8ecaa472..7f74ee74 100644 --- a/src/errors.ts +++ b/src/errors.ts @@ -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' }