mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-30 13:43:26 +08:00
fix: clean up legacy Context7 aliases on update
This commit is contained in:
committed by
Affaan Mustafa
parent
6a7a115e18
commit
432788d0b5
@@ -257,6 +257,10 @@ function main() {
|
|||||||
if (resolvedLabel !== name) {
|
if (resolvedLabel !== name) {
|
||||||
raw = removeServerFromText(raw, name, existing);
|
raw = removeServerFromText(raw, name, existing);
|
||||||
}
|
}
|
||||||
|
if (legacyName && hasCanonical) {
|
||||||
|
toRemoveLog.push(`mcp_servers.${legacyName}`);
|
||||||
|
raw = removeServerFromText(raw, legacyName, existing);
|
||||||
|
}
|
||||||
toAppend.push(spec.toml);
|
toAppend.push(spec.toml);
|
||||||
} else {
|
} else {
|
||||||
// Add-only mode: skip, but warn about drift
|
// Add-only mode: skip, but warn about drift
|
||||||
|
|||||||
Reference in New Issue
Block a user