fix(docgen): use better perm mask for output files and folder

pull/78/head
sammyette 2021-10-16 15:38:17 -04:00
parent bd3e9fdca6
commit 54635072f6
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ func main() {
for mod, v := range docs {
if mod == "main" { mod = "global" }
os.Mkdir("docs", 0744)
os.Mkdir("docs", 0777)
f, _ := os.Create("docs/" + mod + ".txt")
f.WriteString(strings.Join(v, "\n") + "\n")
}