From fa403a0d2c7c80d277adafe2d3d3f9e226996351 Mon Sep 17 00:00:00 2001 From: Hanzei Date: Thu, 8 Oct 2020 22:45:48 +0200 Subject: [PATCH] Fix linter issue for golanci-lint v1.13.0 --- build/manifest/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/manifest/main.go b/build/manifest/main.go index 89a397c1..3227c2a0 100644 --- a/build/manifest/main.go +++ b/build/manifest/main.go @@ -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") } @@ -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") }