We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b776fc6 commit c2a38b9Copy full SHA for c2a38b9
lib/storage/drivers/filesystem.ts
@@ -65,7 +65,8 @@ export class FilesystemStorageDriver extends StorageDriver {
65
await fs.appendFile(outputTempFilePath, buffer)
66
}
67
68
- await fs.rename(outputTempFilePath, this.addBaseFolderPrefix(opts.finalOutputObjectName))
+ await fs.copyFile(outputTempFilePath, this.addBaseFolderPrefix(opts.finalOutputObjectName))
69
+ await fs.rm(outputTempFilePath)
70
71
await Promise.all([
72
this.cleanupMultipartUpload(opts.uploadId),
0 commit comments