From 930b581d0924e3eafe2f289c939d8f2116f8f3da Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Fri, 10 Nov 2017 01:04:24 +0100 Subject: [PATCH] Fixed incorrect permissions of the schema.json --- build/schema.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/schema.go b/build/schema.go index 43f0a78..b8c31d4 100644 --- a/build/schema.go +++ b/build/schema.go @@ -14,7 +14,7 @@ func main() { schemaPath := flag.String("path", filepath.Join("build", "schema.json"), "location of the converted schema") flag.Parse() schema := generator.Generate(&config.Configuration{}) - if err := ioutil.WriteFile(*schemaPath, []byte(schema), 644); err != nil { + if err := ioutil.WriteFile(*schemaPath, []byte(schema), 755); err != nil { log.Fatalf("could not write schema: %v", err) } }