mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-01 19:23:24 +00:00
fix(docgen): use better perm mask for output files and folder
This commit is contained in:
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…
x
Reference in New Issue
Block a user