Skip to content

Commit

Permalink
Remove executable permission from JSON files (cadence-workflow#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshtin authored and Liang Mei committed Jul 17, 2020
1 parent e542492 commit 48a8724
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/cli/adminCommands.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func AdminShowWorkflow(c *cli.Context) {
if err != nil {
ErrorAndExit("Failed to serialize history data.", err)
}
if err := ioutil.WriteFile(outputFileName, data, 0777); err != nil {
if err := ioutil.WriteFile(outputFileName, data, 0666); err != nil {
ErrorAndExit("Failed to export history data file.", err)
}
}
Expand Down
2 changes: 1 addition & 1 deletion tools/cli/workflowCommands.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func showHistoryHelper(c *cli.Context, wid, rid string) {
if err != nil {
ErrorAndExit("Failed to serialize history data.", err)
}
if err := ioutil.WriteFile(outputFileName, data, 0777); err != nil {
if err := ioutil.WriteFile(outputFileName, data, 0666); err != nil {
ErrorAndExit("Failed to export history data file.", err)
}
}
Expand Down

0 comments on commit 48a8724

Please sign in to comment.