mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
style: improved output when canceled
This commit is contained in:
parent
a84148c620
commit
1d0911ba1f
@ -132,9 +132,7 @@ func Release(flags Flags) error {
|
||||
case <-ctx.Done():
|
||||
return ctx.Err()
|
||||
case sig := <-signals:
|
||||
restoreOutputPadding()
|
||||
log.Infof("stopping: %s", sig)
|
||||
return nil
|
||||
return fmt.Errorf("canceled due to %s", sig)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user