Update git-utils.ts

This commit is contained in:
NotII
2025-04-06 16:41:08 +01:00
parent 3cd46c63ad
commit 7f7dd78818

View File

@@ -10,13 +10,7 @@ interface GitInfo {
} }
let cachedGitInfo: GitInfo | null = null; 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<GitInfo> { export async function getGitCommitInfo(): Promise<GitInfo> {
return gitInfo; return gitInfo;
} }