From 7f7dd788186de5fe3025ba152ee4f43a19c5329d Mon Sep 17 00:00:00 2001 From: NotII <46204250+NotII@users.noreply.github.com> Date: Sun, 6 Apr 2025 16:41:08 +0100 Subject: [PATCH] Update git-utils.ts --- lib/git-utils.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/git-utils.ts b/lib/git-utils.ts index fa9eb05..cf2a2a7 100644 --- a/lib/git-utils.ts +++ b/lib/git-utils.ts @@ -10,13 +10,7 @@ interface GitInfo { } let cachedGitInfo: GitInfo | null = null; - -/** - * Gets the current git commit hash from various sources - * - First tries environment variable (from Docker) - * - Then tries the JSON file created by our build script - * - Returns "dev" if nothing is available - */ + export async function getGitCommitInfo(): Promise { return gitInfo; } \ No newline at end of file