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 5c11c85 commit de9fe5aCopy full SHA for de9fe5a
lib/recognize-stream.ts
@@ -139,8 +139,8 @@ class RecognizeStream extends Duplex {
139
delete options.objectMode;
140
}
141
super(options);
142
- if (options.readableObjectMode && this.readableObjectMode === undefined) {
143
- this.readableObjectMode = true;
+ if (this.readableObjectMode === undefined) {
+ this.readableObjectMode = options.readableObjectMode === true;
144
145
this.options = options;
146
this.listening = false;
0 commit comments