Fixed permissions on created directories

Fixes #1
This commit is contained in:
Parnic
2019-06-17 21:21:42 -05:00
parent 3332ace887
commit 591228bb1c

View File

@ -97,7 +97,7 @@ func finalize(config Config, buf map[FileType]*bytes.Buffer) (map[FileType]*Comp
}
dir := filepath.Join(config.OutputDir, string(key))
os.MkdirAll(dir, os.ModeDir)
os.MkdirAll(dir, 0755)
destFile := filepath.Join(dir, "app-"+ret[key].Hash+ext)
ioutil.WriteFile(destFile, bytes, 0644)