fix(cli): file handles (#6110)

* fix: file handles

* chore: bump for patch release
This commit is contained in:
Jason Rasmussen 2024-01-01 17:37:52 -05:00 committed by GitHub
parent cc7ba3c21a
commit 014adf175a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 27 deletions

View file

@ -60,7 +60,7 @@ export default class Upload extends BaseCommand {
for (const asset of assetsToUpload) {
// Compute total size first
await asset.process();
await asset.prepare();
totalSize += asset.fileSize;
if (options.albumName) {