From e119aed20548e380503d427321a1104396f73ea4 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Thu, 5 Mar 2026 07:52:09 -0800 Subject: [PATCH] just in case --- src/cli/sha.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/sha.ts b/src/cli/sha.ts index eb2f35a..90772e7 100644 --- a/src/cli/sha.ts +++ b/src/cli/sha.ts @@ -1,3 +1,3 @@ declare var __GIT_SHA__: string | undefined -export const SHA: string = __GIT_SHA__ ?? 'dev' +export const SHA: string = typeof __GIT_SHA__ !== 'undefined' ? __GIT_SHA__ : 'dev'