Skip to content

Commit 88f3e76

Browse files
Change permission for manifest to 0600 (#27)
1 parent c4f4195 commit 88f3e76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/manifest/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func applyManifest(manifest *model.Manifest) error {
106106
if err := ioutil.WriteFile(
107107
"server/manifest.go",
108108
[]byte(fmt.Sprintf(pluginIDGoFileTemplate, manifest.Id, manifest.Version)),
109-
0644,
109+
0600,
110110
); err != nil {
111111
return errors.Wrap(err, "failed to write server/manifest.go")
112112
}
@@ -116,7 +116,7 @@ func applyManifest(manifest *model.Manifest) error {
116116
if err := ioutil.WriteFile(
117117
"webapp/src/manifest.js",
118118
[]byte(fmt.Sprintf(pluginIDJSFileTemplate, manifest.Id, manifest.Version)),
119-
0644,
119+
0600,
120120
); err != nil {
121121
return errors.Wrap(err, "failed to open webapp/src/manifest.js")
122122
}

0 commit comments

Comments
 (0)