From 8a748f71016b6ff88dfd6c5d450caaf661c7f9f3 Mon Sep 17 00:00:00 2001 From: Fabro Date: Mon, 16 Mar 2026 05:38:35 +0000 Subject: [PATCH] fabro(01KKTJAPBV2XJGZP0KCZ2M2AX4): solve (success) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fabro-Run: 01KKTJAPBV2XJGZP0KCZ2M2AX4 Fabro-Completed: 3 Fabro-Checkpoint: fcaed9b878bf0786078d09e0bfad58722d3e9740 ⚒️ Generated with [Fabro](https://fabro.sh) --- lib/crates/fabro-exe/src/lib.rs | 4 ++-- lib/crates/fabro-ssh/src/lib.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/crates/fabro-exe/src/lib.rs b/lib/crates/fabro-exe/src/lib.rs index 74efc9cd4..bc96ac737 100644 --- a/lib/crates/fabro-exe/src/lib.rs +++ b/lib/crates/fabro-exe/src/lib.rs @@ -274,7 +274,7 @@ impl ExeSandbox { // Fall back to init + fetch + checkout if directory is not empty if stderr.contains("not an empty directory") - || stderr.contains("already exists and is not an empty") + || stderr.contains("already exists and is not an empty directory") { let branch = params.branch.as_deref().unwrap_or("main"); let fallback_script = format!( @@ -1809,4 +1809,4 @@ mod tests { "glob filter should be properly escaped, got: {inner}", ); } -} +} \ No newline at end of file diff --git a/lib/crates/fabro-ssh/src/lib.rs b/lib/crates/fabro-ssh/src/lib.rs index d5c5bac7a..2c175ff71 100644 --- a/lib/crates/fabro-ssh/src/lib.rs +++ b/lib/crates/fabro-ssh/src/lib.rs @@ -205,7 +205,7 @@ impl SshSandbox { // Fall back to init + fetch + checkout if directory is not empty if stderr.contains("not an empty directory") - || stderr.contains("already exists and is not an empty") + || stderr.contains("already exists and is not an empty directory") { let branch = params.branch.as_deref().unwrap_or("main"); let fallback_script = format!( @@ -1354,4 +1354,4 @@ mod tests { let sandbox = sandbox_with_mock(MockSshRunner::new()); assert_eq!(sandbox.resolve_path("/tmp/file.txt"), "/tmp/file.txt"); } -} +} \ No newline at end of file