Skip to content

Commit

Permalink
change test go.mod permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristina Pathak committed Mar 6, 2024
1 parent ca2fc8d commit 9240936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/builder/internal/builder/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func makeModule(dir string) error {
return fmt.Errorf("failed to create output path: %w", err)
}

err := os.WriteFile(filepath.Clean(filepath.Join(dir, "go.mod")), []byte(goModTestFile), 0644)
err := os.WriteFile(filepath.Clean(filepath.Join(dir, "go.mod")), []byte(goModTestFile), 0600)
if err != nil {
return fmt.Errorf("failed to write go.mod file: %w", err)
}
Expand Down

0 comments on commit 9240936

Please sign in to comment.