Skip to content

Commit

Permalink
Fix uint32 format
Browse files Browse the repository at this point in the history
  • Loading branch information
olena-zmiiova committed Sep 5, 2024
1 parent f153cd8 commit 3603e5d
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 @@ -30,7 +30,7 @@ import (
// Does nothing if exists.
func EnsureDirExists(dirPath string) {
if _, err := os.Stat(dirPath); os.IsNotExist(err) {
var readWriteExecPermission uint32 = 777
var readWriteExecPermission uint32 = 0777
err := os.MkdirAll(dirPath, os.FileMode(readWriteExecPermission))
if err != nil {
panic(err)
Expand Down

0 comments on commit 3603e5d

Please sign in to comment.