1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-09-16 09:26:52 +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

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
}