From f146e4faf1d1289bc90a63bc338344b7b2ddb81d Mon Sep 17 00:00:00 2001 From: Greg Rashkevitch Date: Fri, 27 Oct 2023 12:10:25 +0300 Subject: [PATCH] properly terminate a failed process (#51) --- 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); } } }