From 2e1cae8fa50eb3c616e5a63f5a5305647dad9ce1 Mon Sep 17 00:00:00 2001 From: Gerrit Date: Fri, 31 May 2024 10:21:26 +0200 Subject: [PATCH] Suppress linter warning. --- cmd/helper/helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/helper/helper.go b/cmd/helper/helper.go index 6c6a22c..c32a482 100644 --- a/cmd/helper/helper.go +++ b/cmd/helper/helper.go @@ -146,7 +146,7 @@ func Edit(id string, getFunc func(id string) ([]byte, error), updateFunc func(fi if err != nil { return err } - err = os.WriteFile(tmpfile.Name(), content, os.ModePerm) + err = os.WriteFile(tmpfile.Name(), content, os.ModePerm) //nolint:gosec if err != nil { return err }