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 ae21157 commit 2263db8Copy full SHA for 2263db8
lib/common/lib/chunks/ChunkBuffer.ts
@@ -11,7 +11,6 @@ export async function* ChunkBuffer(
11
data: Buffer,
12
partSize: number
13
): AsyncGenerator<RawData, void, undefined> {
14
- let partNumber = 1;
15
let startByte = 0;
16
let endByte = partSize;
17
let content;
@@ -25,7 +24,6 @@ export async function* ChunkBuffer(
25
24
data: content,
26
md5Hash: md5Hash.digest("base64")
27
};
28
- partNumber += 1;
29
startByte = endByte;
30
endByte = startByte + partSize;
31
}
0 commit comments