Skip to content

Commit

Permalink
Src Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsmedley committed Sep 17, 2024
1 parent 889b57e commit 043977a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/objectManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,8 @@ class ObjectManager {
}
const task = (async () => {
await queue.add(async () => {
const mfsPath = entry.path.startsWith('/') ? entry.path : `/${entry.path}`;
uploadLogger.silly("SOURCE_IMPORT_STARTED", {
path: mfsPath,
path: entry.path,
size: queue.size,
});

Expand Down Expand Up @@ -249,9 +248,9 @@ class ObjectManager {
} else {
return;
}
createdFiles.set(mfsPath, createdFile);
createdFiles.set(entry.path, createdFile);
uploadLogger.verbose("SOURCE_IMPORT_COMPLETED", {
path: mfsPath,
path: entry.path,
size: queue.size,
});
} else {
Expand All @@ -263,9 +262,9 @@ class ObjectManager {
} else {
return;
}
createdFiles.set(mfsPath, createdFile);
createdFiles.set(entry.path, createdFile);
uploadLogger.verbose("SOURCE_IMPORT_COMPLETED", {
path: mfsPath,
path: entry.path,
size: queue.size,
});
}
Expand Down

0 comments on commit 043977a

Please sign in to comment.