This commit is contained in:
NoLogicAlan committed 2026-10-21 01:35:39 +03:00
1 parent 7c5f783855
commit 4dd9f2ade6
4 files changed
+22 -2

No files matched your search

+2 -2
View File
@@ -330,8 +330,8 @@ class Remix {
const __dirname = import.meta.dirname;
try {
this.comHash = childProcess.execSync("git rev-parse --short HEAD", { cwd: __dirname, timeout: 3000 }).toString().trim();
this.comHashLong = childProcess.execSync("git rev-parse HEAD", { cwd: __dirname, timeout: 3000 }).toString().trim();
this.comHash = childProcess.execSync("git rev-parse --short HEAD", { cwd: __dirname, timeout: 3000, stdio: ["ignore", "pipe", "ignore"] }).toString().trim();
this.comHashLong = childProcess.execSync("git rev-parse HEAD", { cwd: __dirname, timeout: 3000, stdio: ["ignore", "pipe", "ignore"] }).toString().trim();
} catch (e) {
logger.warn("[Git] comhash error:", e?.message);
this.comHash = "Newest";