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:
parent
0e54c8d882
commit
19cd0e2289
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user