Skip to content

Commit

Permalink
fix: lint issue
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Dec 31, 2020
1 parent 6735cf0 commit 1c76860
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/pipe/nfpm/nfpm.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,7 @@ func create(ctx *context.Context, fpm config.NFPM, format, arch string, binaries
return err
}

var contents files.Contents
for _, f := range overridden.Contents {
contents = append(contents, f)
}
var contents = append(files.Contents{}, overridden.Contents...)

// FPM meta package should not contain binaries at all
if !fpm.Meta {
Expand Down

1 comment on commit 1c76860

@vercel
Copy link

@vercel vercel bot commented on 1c76860 Dec 31, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.