mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-11 22:53:00 +00:00
fabro(01KKTJAPBV2XJGZP0KCZ2M2AX4): solve (success)
Fabro-Run: 01KKTJAPBV2XJGZP0KCZ2M2AX4
Fabro-Completed: 3
Fabro-Checkpoint: fcaed9b878
⚒️ Generated with [Fabro](https://fabro.sh)
This commit is contained in:
parent
ab5256a1f2
commit
8a748f7101
2 changed files with 4 additions and 4 deletions
|
|
@ -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}",
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue