chore: release 2026.1.11-4
This commit is contained in:
@@ -26,7 +26,7 @@ import("./cli/run-main.js")
|
||||
.catch((error) => {
|
||||
console.error(
|
||||
"[clawdbot] Failed to start CLI:",
|
||||
error instanceof Error ? error.stack ?? error.message : error,
|
||||
error instanceof Error ? (error.stack ?? error.message) : error,
|
||||
);
|
||||
process.exitCode = 1;
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
import { createRequire } from "node:module";
|
||||
import path from "node:path";
|
||||
|
||||
const formatCommit = (value?: string | null) => {
|
||||
if (!value) return null;
|
||||
@@ -41,7 +41,7 @@ let cachedCommit: string | null | undefined;
|
||||
const readCommitFromPackageJson = () => {
|
||||
try {
|
||||
const require = createRequire(import.meta.url);
|
||||
const pkg = require("../package.json") as {
|
||||
const pkg = require("../../package.json") as {
|
||||
gitHead?: string;
|
||||
githead?: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user