From d0a607f2b641327946738c69096d7d2f2bce551c Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 4 Sep 2022 03:24:11 +0300 Subject: [PATCH] notes.. Signed-off-by: Alex A. Naanou --- pwiki/store/file.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pwiki/store/file.js b/pwiki/store/file.js index 285b456..72f9061 100755 --- a/pwiki/store/file.js +++ b/pwiki/store/file.js @@ -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...