Skip to content

Commit

Permalink
Update make() to use MkdirAll, not Mkdir
Browse files Browse the repository at this point in the history
  • Loading branch information
thesephist committed Dec 23, 2019
1 parent 87a1705 commit 6f18152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ink/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ func inkMake(ctx *Context, in []Value) (Value, error) {
return
}

err := os.Mkdir(string(dirPath), 0755)
err := os.MkdirAll(string(dirPath), 0755)
if err != nil {
ctx.ExecListener(func() {
_, err := evalInkFunction(cb, false, errMsg(
Expand Down

0 comments on commit 6f18152

Please sign in to comment.