mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 09:07:47 +01:00
4 lines
No EOL
161 B
TypeScript
4 lines
No EOL
161 B
TypeScript
import { execSync } from "child_process";
|
|
const gitCommand = "git rev-parse HEAD";
|
|
|
|
export const getCommit = ():string => execSync(gitCommand).toString().trim(); |