From 2c3f671efae710d194736f371153906dccd9e216 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Fri, 24 Jul 2026 18:09:06 -0600 Subject: [PATCH] fix: config existence check for --fresh sandboxes --- src/config/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/config/mod.rs b/src/config/mod.rs index ef0384e..93d8936 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -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); }