Skip to content

Commit e951bfb

Browse files
author
Ruben Bridgewater
committed
Fix parser regression
1 parent 331ea59 commit e951bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/parsers/javascript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ ReplyParser.prototype._parseResult = function (type) {
8181
return this._buffer.slice(start, end);
8282
}
8383
return this._buffer.toString(this._encoding, start, end);
84-
} else { // *
84+
} else if (type === 42) { // *
8585
offset = this._offset;
8686
packetHeader = this.parseHeader();
8787

0 commit comments

Comments
 (0)