Skip to content

Commit

Permalink
Fixed createBinaryFileFromLocalFile not inserting files
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x98 committed Oct 9, 2023
1 parent da3871a commit bef13e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/extensions/std/exec/test/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ export function createBinaryFileFromLocalFile(fileName: string): BinaryFile {
const file = readFileSync(
path.resolve(__dirname, '../test/assets/file-picker-executor/', fileName),
);
return new BinaryFile(fileName, fileExtension, mimeType, file);
return new BinaryFile(path.basename(fileName), fileExtension, mimeType, file);
}

0 comments on commit bef13e9

Please sign in to comment.