Skip to content

Commit

Permalink
Fixed permissions on created directories
Browse files Browse the repository at this point in the history
Fixes #1
  • Loading branch information
parnic committed Jun 18, 2019
1 parent 3332ace commit 591228b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 591228b

Please sign in to comment.