1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00

fix: pass missing arg to log.Warnf (#886)

This commit is contained in:
Tom Payne 2018-11-30 19:48:49 +01:00 committed by Carlos Alexandro Becker
parent e7bec044a0
commit 14c7f06ca2

View File

@ -52,7 +52,7 @@ func (Pipe) Default(ctx *context.Context) error {
case "false":
ctx.PreRelease = false
default:
log.Warnf("Invalid value %s for prerelease. Should be auto, true or false")
log.Warnf("Invalid value %s for prerelease. Should be auto, true or false", ctx.Config.Release.Prerelease)
}
return nil