mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-09-20 04:23:20 +02:00
6 lines
152 B
TypeScript
6 lines
152 B
TypeScript
|
import { spawnSync } from "bun";
|
||
|
|
||
|
export const COMMIT_HASH = spawnSync({
|
||
|
cmd: [ "git", "log", "--pretty=format:%h", "-n", "1" ]
|
||
|
}).stdout.toString();
|