Skip to content

Commit

Permalink
Change permission for manifest to 0600 (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanaelhoun committed Oct 8, 2020
1 parent c4f4195 commit 88f3e76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/manifest/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func applyManifest(manifest *model.Manifest) error {
if err := ioutil.WriteFile(
"server/manifest.go",
[]byte(fmt.Sprintf(pluginIDGoFileTemplate, manifest.Id, manifest.Version)),
0644,
0600,
); err != nil {
return errors.Wrap(err, "failed to write server/manifest.go")
}
Expand All @@ -116,7 +116,7 @@ func applyManifest(manifest *model.Manifest) error {
if err := ioutil.WriteFile(
"webapp/src/manifest.js",
[]byte(fmt.Sprintf(pluginIDJSFileTemplate, manifest.Id, manifest.Version)),
0644,
0600,
); err != nil {
return errors.Wrap(err, "failed to open webapp/src/manifest.js")
}
Expand Down

0 comments on commit 88f3e76

Please sign in to comment.