You've already forked goreleaser
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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user