Skip to content

Commit 034e2ac

Browse files
authored
macos: action tmp dir fix (#120)
1 parent 221e137 commit 034e2ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/launchr/filepath.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func MkdirTemp(pattern string) (string, error) {
134134
basePath = cand
135135
if name != "" {
136136
newBase := filepath.Join(basePath, name)
137-
err = os.Mkdir(newBase, 0700)
137+
err = os.MkdirAll(newBase, 0700)
138138
if err != nil && !os.IsExist(err) {
139139
// Try next candidate.
140140
continue

0 commit comments

Comments
 (0)