Skip to content

Commit 3ba8e7a

Browse files
author
Ruben Bridgewater
committed
Remove unnecessary line
buffer.slice supports negative values as start and end values
1 parent de15ac6 commit 3ba8e7a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/parser.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,6 @@ function concatBulkString (parser) {
349349
return list[0].toString('utf8', parser.bigOffset, list[0].length - 1)
350350
}
351351
chunks--
352-
offset = list[list.length - 2].length + 1
353352
}
354353
var res = decoder.write(list[0].slice(parser.bigOffset))
355354
for (var i = 1; i < chunks - 1; i++) {

0 commit comments

Comments
 (0)