mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-18 14:19:58 +00:00
5 lines
140 B
JavaScript
5 lines
140 B
JavaScript
|
import { execSync } from "child_process";
|
||
|
|
||
|
export default function() {
|
||
|
return execSync('git rev-parse --short HEAD').toString().trim()
|
||
|
}
|