fix: skip old-process config writes after git switch

This commit is contained in:
Peter Steinberger
2026-04-06 01:29:23 +01:00
parent 6c4e06cd4f
commit e0354e71eb
2 changed files with 33 additions and 22 deletions

View File

@@ -1028,6 +1028,7 @@ describe("update-cli", () => {
await updateCommand({ channel: "dev", yes: true });
expect(syncPluginsForUpdateChannel).not.toHaveBeenCalled();
expect(replaceConfigFile).not.toHaveBeenCalled();
expect(defaultRuntime.exit).not.toHaveBeenCalledWith(1);
expect(
vi