Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-09-04 03:24:11 +03:00
parent dc16742a2f
commit d0a607f2b6

View File

@ -169,6 +169,8 @@ async function(base, sub, data, options){
target = pwpath.join(target, index) }
// create path / parts of path...
} else {
// NOTE: no need to encode stuff here as it will be taken care
// of by .mkdir(..)
var levels = pwpath.split(sub)
levels.pop()
// ensure the parent dir exists...