We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4acc93 commit 0d66d00Copy full SHA for 0d66d00
packages/js-sdk/src/template/utils.ts
@@ -86,7 +86,7 @@ export async function tarFileStreamUpload(
86
// First pass: calculate the compressed size without buffering
87
const sizeCalculationStream = tarFileStream(fileName, fileContextPath)
88
let contentLength = 0
89
- for await (const chunk of sizeCalculationStream) {
+ for await (const chunk of sizeCalculationStream as AsyncIterable<Uint8Array>) {
90
contentLength += chunk.length
91
}
92
0 commit comments