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 0d66d00 commit a1ac89aCopy full SHA for a1ac89a
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 as AsyncIterable<Uint8Array>) {
+ for await (const chunk of sizeCalculationStream as unknown as AsyncIterable<Buffer>) {
90
contentLength += chunk.length
91
}
92
0 commit comments