1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

fix: gosec lint issues

This commit is contained in:
Carlos Alexandro Becker 2018-09-04 09:48:22 -03:00
parent 0b28e3372d
commit 236aabdff5
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -35,7 +35,7 @@ func New(target io.Writer) Archive {
// Add file to the archive
func (a Archive) Add(name, path string) error {
file, err := os.Open(path)
file, err := os.Open(path) // #nosec
if err != nil {
return err
}