mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-03 15:44:27 +02: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()
|
|
} |