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

fix: goreleaser init output

closes #525
This commit is contained in:
Carlos Alexandro Becker 2018-02-14 23:49:01 -02:00
parent 28ad35848f
commit 18cf651cc9
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -156,6 +156,9 @@ func InitProject(filename string) error {
var ctx = context.New(config.Project{})
var pipe = defaults.Pipe{}
defer restoreOutputPadding()
log.Infof(color.New(color.Bold).Sprint(strings.ToUpper(pipe.String())))
cli.Default.Padding = increasedPadding
if err := pipe.Run(ctx); err != nil {
return err
}