1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-09 13:36:56 +02:00

refactor: remove unneeded if

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker 2021-09-01 23:17:01 -03:00
parent 0e54c8d882
commit 19cd0e2289
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -62,9 +62,6 @@ func (Pipe) Run(ctx *context.Context) (err error) {
}
for name, path := range extraFiles {
if _, err := os.Stat(path); os.IsNotExist(err) {
return fmt.Errorf("failed to checksum %s: %w", name, err)
}
artifactList = append(artifactList, &artifact.Artifact{
Name: name,
Path: path,