Skip to content

Commit

Permalink
Fix linter issue for golanci-lint v1.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzei committed Oct 8, 2020
1 parent 8acad23 commit fa403a0
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 fa403a0

Please sign in to comment.