diff --git a/deps/streamsearch/sbmh.js b/deps/streamsearch/sbmh.js index e96036b..d95546d 100644 --- a/deps/streamsearch/sbmh.js +++ b/deps/streamsearch/sbmh.js @@ -188,12 +188,10 @@ SBMH.prototype._sbmh_feed = function (data) { pos < len && ( data[pos] !== needle[0] || - ( - (Buffer.compare( - data.subarray(pos, pos + len - pos), - needle.subarray(0, len - pos) - ) !== 0) - ) + Buffer.compare( + data.subarray(pos, pos + len - pos), + needle.subarray(0, len - pos) + ) !== 0 ) ) { ++pos