This commit is contained in:
Toshit Chawda 2024-10-12 09:47:48 -07:00
parent 797607aabb
commit 0dc93d6f62
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
6 changed files with 571 additions and 636 deletions

View file

@ -71,11 +71,10 @@ export default defineConfig({
COMMITHASH: (() => {
try {
let hash = JSON.stringify(
execSync("git rev-parse --short HEAD", { encoding: "utf-8" }).replace(
/\r?\n|\r/g,
""
)
)
execSync("git rev-parse --short HEAD", {
encoding: "utf-8",
}).replace(/\r?\n|\r/g, "")
);
return hash;
} catch (e) {