Skip to content

Commit

Permalink
Remove unintended change
Browse files Browse the repository at this point in the history
  • Loading branch information
lng2020 committed Apr 3, 2024
1 parent d520b03 commit f2de2f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/storage/files/S3Storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export default class S3Storage extends BaseStorage {
return new Promise((resolve, reject) => {
dest.on("error", reject);
dest.on("finish", () =>
resolve({ path: tmpFile, cleanup: () => fs.promises.rm(tmpFile) })
resolve({ path: tmpFile, cleanup: () => fs.rm(tmpFile) })
);
stream.pipe(dest);
});
Expand Down

0 comments on commit f2de2f8

Please sign in to comment.