Fix: nosec false positive

This commit is contained in:
kayos@tcp.direct 2023-02-28 17:23:28 -08:00
parent f0a2692c73
commit ad1115b87d
Signed by: kayos
GPG Key ID: 4B841471B4BEE979

View File

@ -73,7 +73,7 @@ func gen(memfs afero.Fs) {
println(err.Error())
os.Exit(1)
}
nf, err := os.Create(target)
nf, err := os.Create(target) // #nosec G304
if err != nil {
println(err.Error())
os.Exit(1)