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) } }