Skip to content

Commit 19991c9

Browse files
committed
fix: mkdirall
1 parent ebc7c6a commit 19991c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/development/command/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func copyDir(src string, dest string) error {
3737
return fmt.Errorf("Source " + file.Name() + " is not a directory!")
3838
}
3939

40-
err = os.Mkdir(dest, 0755)
40+
err = os.MkdirAll(dest, 0755)
4141
if err != nil {
4242
klog.Errorf("failed to mkdir path=%v,err=%v", dest, err)
4343
return err

0 commit comments

Comments
 (0)