Compare commits

..

1 Commits

Author SHA1 Message Date
d6a0d9d42d
feat: cancel git clone ops gracefully
All checks were successful
continuous-integration/drone/push Build is passing
See #528
2025-04-22 22:47:41 +02:00

View File

@ -59,7 +59,7 @@ func Clone(dir, url string) error {
}
if err := ctx.Err(); err != nil {
errCh <- fmt.Errorf("git clone %s: cancelled due to interrupt", dir)
errCh <- err
}
if err != nil {