Skip to content

Commit 2196272

Browse files
committed
Fix slice cropping data output
1 parent c45f4bd commit 2196272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

processProxy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ ProcessProxy.prototype.onData = function(type, data) {
549549
} else {
550550

551551
// extract all data up-to the DONE marker...
552-
var block = data.slice(startIdx, doneIdx - 1);
552+
var block = data.slice(startIdx, doneIdx);
553553

554554
// apply the data and finish the command
555555
if (cmd) {

0 commit comments

Comments
 (0)