refactor: rename to openclaw

This commit is contained in:
Peter Steinberger
2026-01-30 03:15:10 +01:00
parent 4583f88626
commit 9a7160786a
2357 changed files with 16688 additions and 16788 deletions
+3 -3
View File
@@ -71,10 +71,10 @@ describe("logger helpers", () => {
resetLogger();
setLoggerOverride({}); // force defaults regardless of user config
const today = localDateString(new Date());
const todayPath = path.join(DEFAULT_LOG_DIR, `moltbot-${today}.log`);
const todayPath = path.join(DEFAULT_LOG_DIR, `openclaw-${today}.log`);
// create an old file to be pruned
const oldPath = path.join(DEFAULT_LOG_DIR, "moltbot-2000-01-01.log");
const oldPath = path.join(DEFAULT_LOG_DIR, "openclaw-2000-01-01.log");
fs.mkdirSync(DEFAULT_LOG_DIR, { recursive: true });
fs.writeFileSync(oldPath, "old");
fs.utimesSync(oldPath, new Date(0), new Date(0));
@@ -91,7 +91,7 @@ describe("logger helpers", () => {
});
function pathForTest() {
const file = path.join(os.tmpdir(), `moltbot-log-${crypto.randomUUID()}.log`);
const file = path.join(os.tmpdir(), `openclaw-log-${crypto.randomUUID()}.log`);
fs.mkdirSync(path.dirname(file), { recursive: true });
return file;
}