refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
1 parent
83460df96f
commit
6d16a658e5
1839 files changed
+11250
-11199
No files matched your search
@@ -13,7 +13,7 @@ import {
|
||||
|
||||
async function withTempStateDir<T>(fn: (stateDir: string) => Promise<T>) {
|
||||
const previous = process.env.CLAWDBOT_STATE_DIR;
|
||||
const dir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdbot-pairing-"));
|
||||
const dir = await fs.mkdtemp(path.join(os.tmpdir(), "moltbot-pairing-"));
|
||||
process.env.CLAWDBOT_STATE_DIR = dir;
|
||||
try {
|
||||
return await fn(dir);
|
||||
|
||||
Reference in new issue
Block a user