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 d4e2965 commit c7aa6f0Copy full SHA for c7aa6f0
src/json-pack/bencode/BencodeDecoder.ts
@@ -138,7 +138,7 @@ export class BencodeDecoder implements BinaryJsonDecoder {
138
const obj: Record<string, unknown> = {};
139
const uint8 = reader.uint8;
140
while (true) {
141
- let char = uint8[reader.x];
+ const char = uint8[reader.x];
142
if (char === 0x65) {
143
reader.x++;
144
return obj;
0 commit comments