Skip to content

Commit

Permalink
Fix linter issue for golanci-lint v1.13.0 (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzei authored Oct 8, 2020
1 parent 426126d commit 5f04050
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 @@ -127,7 +127,7 @@ func applyManifest(manifest *model.Manifest) error {
if err := ioutil.WriteFile(
"server/manifest.go",
[]byte(fmt.Sprintf(pluginIDGoFileTemplate, manifestStr)),
0644,
0600,
); err != nil {
return errors.Wrap(err, "failed to write server/manifest.go")
}
Expand All @@ -147,7 +147,7 @@ func applyManifest(manifest *model.Manifest) error {
if err := ioutil.WriteFile(
"webapp/src/manifest.js",
[]byte(fmt.Sprintf(pluginIDJSFileTemplate, manifestStr)),
0644,
0600,
); err != nil {
return errors.Wrap(err, "failed to open webapp/src/manifest.js")
}
Expand Down

0 comments on commit 5f04050

Please sign in to comment.