This commit is contained in:
Neeraj Gupta 2024-05-08 15:44:21 +05:30
parent 83ff0e9e38
commit 91c570341d

View file

@ -905,7 +905,8 @@ class FileUploader {
if (File(encryptedFilePath).existsSync()) {
if (isMultiPartUpload && !uploadCompleted) {
_logger.fine(
"skip delete for multipart encrypted file $encryptedFilePath");
"skip delete for multipart encrypted file $encryptedFilePath",
);
} else {
_logger.fine("deleting encrypted file $encryptedFilePath");
await File(encryptedFilePath).delete();