diff --git a/.changeset/purple-bobcats-itch.md b/.changeset/purple-bobcats-itch.md new file mode 100644 index 000000000000..c9441757b3ac --- /dev/null +++ b/.changeset/purple-bobcats-itch.md @@ -0,0 +1,5 @@ +--- +"wrangler": patch +--- + +fix: Fix asset upload count messaging diff --git a/packages/wrangler/src/experimental-assets.ts b/packages/wrangler/src/experimental-assets.ts index 42e029210b9b..e1adbed991fd 100644 --- a/packages/wrangler/src/experimental-assets.ts +++ b/packages/wrangler/src/experimental-assets.ts @@ -143,7 +143,7 @@ export const syncExperimentalAssets = async ( body: payload, } ); - assetUploadCount += payload.length; + assetUploadCount += bucket.length; logger.info( `Uploaded ${assetUploadCount} of ${numberFilesToUpload} assets` );