Skip to content

Commit 2263db8

Browse files
author
Aaron Dabney
committed
removed superfluous var
Signed-off-by: Aaron Dabney <aaron.g.dabney@gmail.com>
1 parent ae21157 commit 2263db8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/common/lib/chunks/ChunkBuffer.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export async function* ChunkBuffer(
1111
data: Buffer,
1212
partSize: number
1313
): AsyncGenerator<RawData, void, undefined> {
14-
let partNumber = 1;
1514
let startByte = 0;
1615
let endByte = partSize;
1716
let content;
@@ -25,7 +24,6 @@ export async function* ChunkBuffer(
2524
data: content,
2625
md5Hash: md5Hash.digest("base64")
2726
};
28-
partNumber += 1;
2927
startByte = endByte;
3028
endByte = startByte + partSize;
3129
}

0 commit comments

Comments
 (0)