From 889b57e0c2e46747f72336383ce2a948461d85ce Mon Sep 17 00:00:00 2001 From: jtsmedley <38006759+jtsmedley@users.noreply.github.com> Date: Tue, 17 Sep 2024 09:54:08 -0500 Subject: [PATCH] Src Changes --- src/objectManager.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/objectManager.js b/src/objectManager.js index 60e0469..c92e1a5 100644 --- a/src/objectManager.js +++ b/src/objectManager.js @@ -206,7 +206,8 @@ class ObjectManager { }); let createFilePromises = []; const queue = new PQueue({ concurrency: 50 }); - for (const entry of source) { + for (let entry of source) { + entry.path = entry.path.startsWith("/") ? entry.path : `/${entry.path}`; if (entry.content === null) { continue; }