mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-14 08:18:34 +00:00
refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -16,7 +16,7 @@ describe("normalizeLegacyConfigValues", () => {
|
||||
|
||||
beforeEach(() => {
|
||||
previousOauthDir = process.env.CLAWDBOT_OAUTH_DIR;
|
||||
tempOauthDir = fs.mkdtempSync(path.join(os.tmpdir(), "clawdbot-oauth-"));
|
||||
tempOauthDir = fs.mkdtempSync(path.join(os.tmpdir(), "moltbot-oauth-"));
|
||||
process.env.CLAWDBOT_OAUTH_DIR = tempOauthDir;
|
||||
});
|
||||
|
||||
@@ -94,7 +94,7 @@ describe("normalizeLegacyConfigValues", () => {
|
||||
});
|
||||
|
||||
it("copies legacy ack reaction when authDir override exists", () => {
|
||||
const customDir = fs.mkdtempSync(path.join(os.tmpdir(), "clawdbot-wa-auth-"));
|
||||
const customDir = fs.mkdtempSync(path.join(os.tmpdir(), "moltbot-wa-auth-"));
|
||||
try {
|
||||
writeCreds(customDir);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user