From c606f3e49e2050395d1747083d06c9c59ff99cfc Mon Sep 17 00:00:00 2001 From: jayree Date: Sun, 9 May 2021 19:14:12 +0200 Subject: [PATCH] fix: EEXIT error raised by sfdx-cli results in err instanceof ExitError equals false --- src/handle.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/handle.ts b/src/handle.ts index b7430ea..d09e42f 100644 --- a/src/handle.ts +++ b/src/handle.ts @@ -2,7 +2,6 @@ /* eslint-disable unicorn/no-process-exit */ import {config} from './config' import prettyPrint, {PrettyPrintableError} from './errors/pretty-print' -import {ExitError} from '.' import clean = require('clean-stack') import {OclifError, CLIError} from './errors/cli' @@ -11,7 +10,7 @@ export const handle = (err: Error & Partial & Partial