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

fix: merge issue

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker 2020-10-02 16:32:21 -03:00
parent 468387625b
commit a1e8b8acc7

View File

@ -128,7 +128,7 @@ func signone(ctx *context.Context, cfg config.Sign, a *artifact.Artifact) (*arti
} else if cfg.StdinFile != "" {
f, err := os.Open(cfg.StdinFile)
if err != nil {
return nil, errors.Wrapf(err, "sign failed: cannot open file %s", cfg.StdinFile)
return nil, fmt.Errorf("sign failed: cannot open file %s: %w", cfg.StdinFile, err)
}
defer f.Close()