Compare commits

..

1 Commits

Author SHA1 Message Date
7c1d6cabbe
WIP: feat: cancel git clone ops gracefully
Some checks failed
continuous-integration/drone/push Build is failing
See #528
2025-04-22 21:05:06 +02:00

View File

@ -28,7 +28,7 @@ func TestCancelGitClone(t *testing.T) {
t.Fatal("cloning should have been interrupted")
}
if _, err := os.Stat(dir); !os.IsNotExist(err) {
t.Fatal("recipe directory should have been deleted")
if _, err := os.Stat(dir); err != nil && !os.IsNotExist(err) {
t.Fatal("recipe repo was not deleted")
}
}