Disable G304 checks

This commit is contained in:
2025-09-05 11:48:36 +02:00
parent aa022fe50c
commit dc7b4d17b3
2 changed files with 2 additions and 2 deletions

2
env.go
View File

@@ -41,7 +41,7 @@ func EnvironmentPrefix(prefix string) Provider {
// key=value
// # This comment is ignored
func EnvironmentFile(name string) (Provider, error) {
f, err := os.Open(name)
f, err := os.Open(name) // #nosec G304
if err != nil {
return nil, err
}