From bf351309e75f26721f59070597693d4edfb982dd Mon Sep 17 00:00:00 2001 From: Juan Antonio Osorio Date: Thu, 9 Jan 2025 14:54:13 +0200 Subject: [PATCH] address lint issue Signed-off-by: Juan Antonio Osorio --- cmd/dev/app/rule_type/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/dev/app/rule_type/init.go b/cmd/dev/app/rule_type/init.go index c7c078f87e..90e1048a63 100644 --- a/cmd/dev/app/rule_type/init.go +++ b/cmd/dev/app/rule_type/init.go @@ -187,7 +187,7 @@ func createRuleTypeTestDataDir(dirName string) error { } func createFileWithContent(fileName, content string) error { - return os.WriteFile(fileName, []byte(content), 0644) + return os.WriteFile(fileName, []byte(content), 0600) } func renderwithRuleTypeName(templ, name string) string {