Skip to content

Commit

Permalink
Debug: change MkdirAll permissions mode
Browse files Browse the repository at this point in the history
  • Loading branch information
vb-td committed Mar 26, 2024
1 parent 7bfd9fd commit 6800071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embed-code-go/fragmentation/io.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
// Creates dir at the given dirPath if it doesn't exist.
func EnsureDirExists(dirPath string) {
if _, err := os.Stat(dirPath); os.IsNotExist(err) {
err := os.MkdirAll(dirPath, os.ModeDir)
err := os.MkdirAll(dirPath, 0777)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 6800071

Please sign in to comment.