Skip to content

Commit

Permalink
feat(upload folder): slice leading / from relative manifest paths P…
Browse files Browse the repository at this point in the history
…E-4643
  • Loading branch information
fedellen committed Aug 7, 2024
1 parent 76d8790 commit c6e3b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class TurboAuthenticatedNodeUploadService extends TurboAuthenticatedBaseU
});

fileResponses.push(result);
const relativePath = absoluteFilePath.replace(folderPath, '');
const relativePath = absoluteFilePath.replace(folderPath + '/', '');
paths[relativePath] = { id: result.id };
}

Expand Down

0 comments on commit c6e3b7c

Please sign in to comment.