chore: release 2026.1.11-4

This commit is contained in:
Peter Steinberger
2026-01-12 10:52:34 +00:00
parent c69abe08eb
commit bf7e813573
9 changed files with 21 additions and 16 deletions

View File

@@ -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;
});

View File

@@ -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;
};