Skip to content

Commit 39cc719

Browse files
authored
Merge pull request #21 from hungryjh/master
Fix slice cropping data output
2 parents c45f4bd + 2196272 commit 39cc719

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)