Compare commits

..

1 Commits

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

View File

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