mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
fix: reset padding first on PadLog
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
parent
e070258c90
commit
c5904a9004
@ -35,6 +35,7 @@ func Log(title string, next middleware.Action) middleware.Action {
|
||||
func PadLog(title string, next middleware.Action) middleware.Action {
|
||||
return func(ctx *context.Context) error {
|
||||
defer log.ResetPadding()
|
||||
log.ResetPadding()
|
||||
log.IncreasePadding()
|
||||
log.Infof(bold.Render(title))
|
||||
log.IncreasePadding()
|
||||
|
Loading…
x
Reference in New Issue
Block a user