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; }