From 59123c0cd95996becfc8a38fa229a7f71bfbb3b1 Mon Sep 17 00:00:00 2001 From: Elizabeth Worstell Date: Tue, 16 Jan 2024 14:17:31 -0800 Subject: [PATCH] fix: ignore linting for file perms 0644 are the default perms for macOS --- cmd/ftl/cmd_init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ftl/cmd_init.go b/cmd/ftl/cmd_init.go index e6fcb070ff..130254f3c9 100644 --- a/cmd/ftl/cmd_init.go +++ b/cmd/ftl/cmd_init.go @@ -151,7 +151,7 @@ var scaffoldFuncs = template.FuncMap{ func updateGitIgnore(ctx context.Context, dir string) error { gitRoot := gitRoot(ctx, dir) - f, err := os.OpenFile(path.Join(gitRoot, ".gitignore"), os.O_RDWR|os.O_CREATE, 0644) + f, err := os.OpenFile(path.Join(gitRoot, ".gitignore"), os.O_RDWR|os.O_CREATE, 0644) //nolint:gosec if err != nil { return err }