From 212423cf4dfeb80215e88def03ce20d1336bd59a Mon Sep 17 00:00:00 2001 From: 0xtekgrinder <0xtekgrinder@protonmail.com> Date: Tue, 18 Jun 2024 14:50:17 +0200 Subject: [PATCH] fix: forwardUtils --- lib/utils | 2 +- utils/forwardUtils.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/utils b/lib/utils index 19038bf..5c7f37e 160000 --- a/lib/utils +++ b/lib/utils @@ -1 +1 @@ -Subproject commit 19038bf499bbcdbb3ee95b983494c0f4ec817c28 +Subproject commit 5c7f37e653c3a7effadc3110c06790be4793d86b diff --git a/utils/forwardUtils.js b/utils/forwardUtils.js index 60e7e28..9edf2e8 100755 --- a/utils/forwardUtils.js +++ b/utils/forwardUtils.js @@ -12,11 +12,11 @@ const extraArgs = process.argv.slice(3).join(' '); exec(`node lib/utils/utils/${command}.js ${extraArgs}`, (error, stdout, stderr) => { if (error) { console.log(error); - return; + process.exit(1); } if (stderr) { console.log(stderr); - return; + process.exit(1); } console.log(stdout); -}); +}); \ No newline at end of file