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:
parent
468387625b
commit
a1e8b8acc7
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user