diff --git a/cmd/gosec/main.go b/cmd/gosec/main.go index ec22a43410..6068f38aec 100644 --- a/cmd/gosec/main.go +++ b/cmd/gosec/main.go @@ -305,7 +305,7 @@ func printReport(format string, color bool, rootPaths []string, reportInfo *gose } func saveReport(filename, format string, rootPaths []string, reportInfo *gosec.ReportInfo) error { - outfile, err := os.Create(filename) // #nosec G304 + outfile, err := os.Create(filename) if err != nil { return err }