From ee11ca157d2a795ab9f7e1672ae40c91604ed3f8 Mon Sep 17 00:00:00 2001 From: Innei Date: Thu, 18 Jul 2024 20:48:39 +0800 Subject: [PATCH] fix: lint Signed-off-by: Innei --- scripts/lib.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/lib.ts b/scripts/lib.ts index 647b894f6..ec0376f21 100644 --- a/scripts/lib.ts +++ b/scripts/lib.ts @@ -5,5 +5,6 @@ export const getGitHash = () => { return execSync("git rev-parse HEAD").toString().trim() } catch (e) { console.error("Failed to get git hash", e) + return "" } }