mirror of
https://github.com/imputnet/cobalt.git
synced 2026-11-06 17:58:07 +00:00
5 lines
No EOL
140 B
JavaScript
5 lines
No EOL
140 B
JavaScript
import { execSync } from "child_process";
|
|
|
|
export default function() {
|
|
return execSync('git rev-parse --short HEAD').toString().trim()
|
|
} |