toes/src/cli/sha.ts
2026-03-05 07:52:09 -08:00

4 lines
129 B
TypeScript

declare var __GIT_SHA__: string | undefined
export const SHA: string = typeof __GIT_SHA__ !== 'undefined' ? __GIT_SHA__ : 'dev'