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:
parent
0b28e3372d
commit
236aabdff5
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user