Skip to content

Commit

Permalink
Change permission to the same level as the flags
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspoignant committed Oct 12, 2024
1 parent bbe6500 commit 0989ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/fileexporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (f *Exporter) Export(_ context.Context, _ *fflog.FFLogger, featureEvents []
filePath = filename
} else {
// Ensure OutputDir exists or create it
if err := os.MkdirAll(outputDir, 0755); err != nil {
if err := os.MkdirAll(outputDir, 0o644); err != nil {
return fmt.Errorf("failed to create output directory: %v", err)
}
filePath = filepath.Join(outputDir, filename)
Expand Down

0 comments on commit 0989ba1

Please sign in to comment.