From 0d64fae37aafd51154f8be2eeb0907c98fc03998 Mon Sep 17 00:00:00 2001 From: Greg Rashkevitch Date: Fri, 27 Oct 2023 12:10:03 +0300 Subject: [PATCH] properly terminate a failed process --- src/commands/code/push.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/commands/code/push.ts b/src/commands/code/push.ts index 4cee028..817fbce 100644 --- a/src/commands/code/push.ts +++ b/src/commands/code/push.ts @@ -94,6 +94,9 @@ export default class Push extends AuthenticatedCommand { await tasks.run(); } catch (error: any) { logger.debug(error, this.DEBUG_TAG); + + // need to signal to the parent process that the command failed + process.exit(1); } } }