mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 12:30:22 +00:00
refactor(config): drop obsolete legacy config aliases
This commit is contained in:
@@ -23,10 +23,7 @@ async function maybeMigrateLegacyConfig(): Promise<string[]> {
|
||||
// missing config
|
||||
}
|
||||
|
||||
const legacyCandidates = [
|
||||
path.join(home, ".clawdbot", "clawdbot.json"),
|
||||
path.join(home, ".moldbot", "moldbot.json"),
|
||||
];
|
||||
const legacyCandidates = [path.join(home, ".clawdbot", "clawdbot.json")];
|
||||
|
||||
let legacyPath: string | null = null;
|
||||
for (const candidate of legacyCandidates) {
|
||||
|
||||
@@ -411,7 +411,7 @@ export async function maybeScanExtraGatewayServices(
|
||||
const legacyServices = extraServices.filter((svc) => svc.legacy === true);
|
||||
if (legacyServices.length > 0) {
|
||||
const shouldRemove = await prompter.confirmRuntimeRepair({
|
||||
message: "Remove legacy gateway services (clawdbot/moltbot) now?",
|
||||
message: "Remove legacy gateway services now?",
|
||||
initialValue: true,
|
||||
});
|
||||
if (shouldRemove) {
|
||||
|
||||
Reference in New Issue
Block a user