mirror of https://github.com/thaldrin/thaldrin.git
3 lines
134 B
TypeScript
3 lines
134 B
TypeScript
|
import { execSync } from 'child_process';
|
||
|
|
||
|
export const commitHash = execSync('git rev-parse HEAD', { encoding: 'utf8' }).slice(0, 8);
|