From ce8adb6893405da0dc97948f3c9525d767cef763 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 7 May 2022 09:33:25 +0300 Subject: [PATCH] minor fix... Signed-off-by: Alex A. Naanou --- pwiki2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pwiki2.js b/pwiki2.js index 59e0c68..9513626 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -136,8 +136,8 @@ module.path = { split: function(path){ return this.normalize(path, 'array') }, - join: function(path){ - return this.normalize(path, 'string') }, + join: function(...parts){ + return this.normalize(parts.join('/'), 'string') }, }