File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ function _uint8ArrayToBuffer(chunk) {
185
185
return Buffer.from(chunk);
186
186
}
187
187
function _isUint8Array(obj) {
188
- return Buffer.isBuffer(obj) || (typeof obj !== 'string' && obj instanceof OurUint8Array) ;
188
+ return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;
189
189
}
190
190
/*</replacement>*/
191
191
`
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ function _uint8ArrayToBuffer(chunk) {
59
59
return Buffer . from ( chunk ) ;
60
60
}
61
61
function _isUint8Array ( obj ) {
62
- return Buffer . isBuffer ( obj ) || typeof obj !== 'string' && obj instanceof OurUint8Array ;
62
+ return Buffer . isBuffer ( obj ) || obj instanceof OurUint8Array ;
63
63
}
64
64
/*</replacement>*/
65
65
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ function _uint8ArrayToBuffer(chunk) {
85
85
return Buffer . from ( chunk ) ;
86
86
}
87
87
function _isUint8Array ( obj ) {
88
- return Buffer . isBuffer ( obj ) || typeof obj !== 'string' && obj instanceof OurUint8Array ;
88
+ return Buffer . isBuffer ( obj ) || obj instanceof OurUint8Array ;
89
89
}
90
90
/*</replacement>*/
91
91
You can’t perform that action at this time.
0 commit comments