From 72da54231adfb08b8a34ed945c10f8a2ecd66982 Mon Sep 17 00:00:00 2001 From: Aleksandr Razumov Date: Fri, 11 Feb 2022 21:26:44 +0300 Subject: [PATCH] chore: ignore gosec G304 for mkencint --- tools/mkencint/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mkencint/main.go b/tools/mkencint/main.go index ab5c84e..a92eb69 100644 --- a/tools/mkencint/main.go +++ b/tools/mkencint/main.go @@ -107,7 +107,7 @@ func run() error { var w io.Writer = os.Stdout if path := *o; path != "" { - f, err := os.Create(path) + f, err := os.Create(path) // #nosec G304 if err != nil { return err }