Skip to content

Commit

Permalink
Fixed output file permission
Browse files Browse the repository at this point in the history
  • Loading branch information
roshanmaskey committed Sep 11, 2022
1 parent 001892f commit 6a9ee8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/commands/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -577,5 +577,5 @@ func arrayToString(array []string) string {
// writeOutputFile writes JSON data to specified file.
func writeOutputFile(v interface{}, outputfile string) {
data, _ := json.Marshal(v)
ioutil.WriteFile(outputfile, data, 0600)
ioutil.WriteFile(outputfile, data, 0644)
}

0 comments on commit 6a9ee8b

Please sign in to comment.