Skip to content

Commit

Permalink
Fix asset upload count messaging (#6687)
Browse files Browse the repository at this point in the history
  • Loading branch information
GregBrimble authored Sep 12, 2024
1 parent 33cc0ec commit 7bbed63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/purple-bobcats-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"wrangler": patch
---

fix: Fix asset upload count messaging
2 changes: 1 addition & 1 deletion packages/wrangler/src/experimental-assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export const syncExperimentalAssets = async (
body: payload,
}
);
assetUploadCount += payload.length;
assetUploadCount += bucket.length;
logger.info(
`Uploaded ${assetUploadCount} of ${numberFilesToUpload} assets`
);
Expand Down

0 comments on commit 7bbed63

Please sign in to comment.