From e647e29c3960dad9d7f36e110f2f3c40341004a4 Mon Sep 17 00:00:00 2001 From: Etienne Noel Date: Thu, 21 Nov 2024 22:24:02 -0800 Subject: [PATCH] - Make sure to properly return to not execute a command twice. --- packages/cli/src/managers/shell.manager.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/cli/src/managers/shell.manager.ts b/packages/cli/src/managers/shell.manager.ts index b950d144..6e9e5ff2 100644 --- a/packages/cli/src/managers/shell.manager.ts +++ b/packages/cli/src/managers/shell.manager.ts @@ -72,6 +72,8 @@ export class ShellManager { return resolve(code + ""); }); + + return; } return exec(finalCommand, {env, maxBuffer: options?.maxBuffer}, (error, stdout, stderr) => {