From 494bcbbc150a280c49f61427a46570ad0f1b2f33 Mon Sep 17 00:00:00 2001 From: Ar Rakin Date: Wed, 28 Aug 2024 22:40:13 +0600 Subject: [PATCH] fix: rebuild Signed-off-by: Ar Rakin --- build/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/index.js b/build/index.js index 74b46ce..5894a7c 100644 --- a/build/index.js +++ b/build/index.js @@ -31792,7 +31792,7 @@ class GitClient { }); return new Promise((resolve, reject) => { process.on("exit", (code) => { - if (code !== 0) { + if (code === null || code !== 0) { console.log("Failed to execute git command: "); console.error(error); reject(new Error(`Failed to execute git command: ${error}`));