1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-04-13 11:50:34 +02:00

Change the log to Error

This commit is contained in:
Leo Arias 2017-08-02 07:44:22 +00:00
parent 11e32885e1
commit 4c99a8e1bd

View File

@ -48,11 +48,11 @@ func (Pipe) Description() string {
// Run the pipe
func (Pipe) Run(ctx *context.Context) error {
if ctx.Config.Snapcraft.Summary == "" {
log.Info("no snapcraft summary defined, skipping")
log.Error("no snapcraft summary defined, skipping")
return nil
}
if ctx.Config.Snapcraft.Summary == "" {
log.Info("no snapcraft description defined, skipping")
log.Error("no snapcraft description defined, skipping")
return nil
}
_, err := exec.LookPath("snapcraft")