Skip to content

Commit

Permalink
fix: ignore linting for file perms
Browse files Browse the repository at this point in the history
0644 are the default perms for macOS
  • Loading branch information
worstell committed Jan 16, 2024
1 parent cc826c1 commit 59123c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ftl/cmd_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 59123c0

Please sign in to comment.