From bddd848e831ba087d104252a3558a7018e2c4737 Mon Sep 17 00:00:00 2001 From: Leonard Chabot Date: Fri, 27 Oct 2023 17:30:57 +0200 Subject: [PATCH] :bug: Fixed oblique path errors --- src/Common/Utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/Utils.js b/src/Common/Utils.js index 9b83bd7..83afdb3 100644 --- a/src/Common/Utils.js +++ b/src/Common/Utils.js @@ -8,7 +8,7 @@ function listFilesRecursively(directory) { const fullPath = path.join(element).replace(/\\/g, '/'); const stats = fs.statSync(fullPath); if (stats.isDirectory()) { - fileList = fileList.concat(listFilesRecursively(fs.readdirSync(fullPath).map(file => (path.join(fullPath, file)).replace(/\\/g, '/'))); + fileList = fileList.concat(listFilesRecursively(fs.readdirSync(fullPath).map(file => (path.join(fullPath, file)).replace(/\\/g, '/')))) } else if (stats.isFile()) { fileList.push(fullPath); }