fix: exit after package-to-git handoff

This commit is contained in:
Peter Steinberger
2026-04-06 02:39:31 +01:00
parent c7e13cac71
commit bdf1f02154
2 changed files with 2 additions and 0 deletions

View File

@@ -1036,6 +1036,7 @@ describe("update-cli", () => {
expect(completionCacheSpy).not.toHaveBeenCalled();
expect(runRestartScript).not.toHaveBeenCalled();
expect(runDaemonRestart).not.toHaveBeenCalled();
expect(defaultRuntime.exit).toHaveBeenCalledWith(0);
expect(defaultRuntime.exit).not.toHaveBeenCalledWith(1);
expect(
vi

View File

@@ -1046,6 +1046,7 @@ export async function updateCommand(opts: UpdateCommandOptions): Promise<void> {
),
);
}
defaultRuntime.exit(0);
return;
}