Skip to content

Commit

Permalink
fix: missing err
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed May 2, 2022
1 parent 21c5fac commit 69338bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pipe/docker/docker.go
Expand Up @@ -128,7 +128,7 @@ func (Pipe) Run(ctx *context.Context) error {
})
}
if err := g.Wait(); err != nil {
return fmt.Errorf("docker build failed: %w\nLearn more at https://goreleaser.com/errors/docker-build\n")
return fmt.Errorf("docker build failed: %w\nLearn more at https://goreleaser.com/errors/docker-build\n", err) // nolint:revive
}
return nil
}
Expand Down

0 comments on commit 69338bf

Please sign in to comment.