mirror of https://github.com/Hilbis/Hilbish
fix(docgen): use better perm mask for output files and folder
parent
bd3e9fdca6
commit
54635072f6
|
@ -72,7 +72,7 @@ func main() {
|
||||||
|
|
||||||
for mod, v := range docs {
|
for mod, v := range docs {
|
||||||
if mod == "main" { mod = "global" }
|
if mod == "main" { mod = "global" }
|
||||||
os.Mkdir("docs", 0744)
|
os.Mkdir("docs", 0777)
|
||||||
f, _ := os.Create("docs/" + mod + ".txt")
|
f, _ := os.Create("docs/" + mod + ".txt")
|
||||||
f.WriteString(strings.Join(v, "\n") + "\n")
|
f.WriteString(strings.Join(v, "\n") + "\n")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue