Skip to content

Commit

Permalink
Change write file level
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Poignant <[email protected]>
  • Loading branch information
thomaspoignant committed May 21, 2024
1 parent f9f2fe7 commit 4a542a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/migrationcli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ func outputResult(content []byte, outputFile string) error {
fmt.Println(string(content))
return nil
}
return os.WriteFile(outputFile, content, os.ModePerm)
return os.WriteFile(outputFile, content, 0600)
}

0 comments on commit 4a542a7

Please sign in to comment.