Skip to content

Commit

Permalink
feat: fall through on combine with empty bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
flo-monin committed Apr 10, 2024
1 parent 809a677 commit 57fcfd7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/cloudStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,6 @@ export class CloudStorage implements CommonStorage {
toBucket?: string,
): Promise<void> {
const filePaths = await this.getFileNames(bucketName, { prefix })
if (filePaths.length === 0) {
return
}
await this.combineFiles(bucketName, filePaths, toPath, toBucket)
}

Expand Down

0 comments on commit 57fcfd7

Please sign in to comment.