fix: config existence check for --fresh sandboxes
CI / All (ubuntu-latest) (push) Failing after 24s
CI / All (macos-latest) (push) Has been cancelled
CI / All (windows-latest) (push) Has been cancelled

This commit is contained in:
2026-07-24 18:09:06 -06:00
parent 8b0a536f4e
commit 2c3f671efa
+4
View File
@@ -524,6 +524,10 @@ impl Config {
let config_path = paths::config_file();
if env::var_os(SANDBOX_ENV_FLAG).is_some() {
if !config_path.exists() {
create_config_file(&config_path).await?;
}
let (config, _) = Self::load_from_file(&config_path)?;
return Ok(config);
}