Skip to content

Commit

Permalink
Merge pull request #44 from dimitrov-d/master
Browse files Browse the repository at this point in the history
Format & lock fix
  • Loading branch information
dimitrov-d authored Jan 9, 2025
2 parents 00c1fc1 + 0c6f418 commit 7c242ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion packages/sdk/src/util/file-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ export async function uploadFiles(uploadParams: {

// Upload doesn't return files in the same order as sent
const sortedFiles = metadata.files.map((metaFile) =>
files.find((file) => file.fileName === metaFile.fileName && file.path === metaFile.path),
files.find(
(file) =>
file.fileName === metaFile.fileName && file.path === metaFile.path,
),
);

await uploadFilesToS3(sortedFiles, fileGroup);
Expand Down

0 comments on commit 7c242ed

Please sign in to comment.