Skip to content

Commit

Permalink
fix: pass missing arg to log.Warnf (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne authored and caarlos0 committed Nov 30, 2018
1 parent e7bec04 commit 14c7f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pipe/release/release.go
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (Pipe) Default(ctx *context.Context) error {
case "false": case "false":
ctx.PreRelease = false ctx.PreRelease = false
default: 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 return nil
Expand Down

0 comments on commit 14c7f06

Please sign in to comment.