From a1e8b8acc7595c9bb4323d2f85fcec945f09bea1 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Fri, 2 Oct 2020 16:32:21 -0300 Subject: [PATCH] fix: merge issue Signed-off-by: Carlos Alexandro Becker --- internal/pipe/sign/sign.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pipe/sign/sign.go b/internal/pipe/sign/sign.go index 2c5a88034..5e5bd8fcd 100644 --- a/internal/pipe/sign/sign.go +++ b/internal/pipe/sign/sign.go @@ -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()