fix(cli): use resolved sandbox state for auto-update check (#26285)

This commit is contained in:
Adib234
2026-04-30 18:06:01 -04:00
committed by GitHub
parent 892c8a720d
commit f497240f7e
3 changed files with 31 additions and 16 deletions
+6 -1
View File
@@ -179,7 +179,12 @@ export async function startInteractiveUI(
checkForUpdates(settings)
.then((info) => {
handleAutoUpdate(info, settings, config.getProjectRoot());
handleAutoUpdate(
info,
settings,
config.getProjectRoot(),
config.getSandboxEnabled(),
);
})
.catch((err) => {
// Silently ignore update check errors.