Skip to content

Commit

Permalink
readability
Browse files Browse the repository at this point in the history
  • Loading branch information
gurgunday committed Mar 15, 2024
1 parent bf65c01 commit 9e986cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions deps/streamsearch/sbmh.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,9 @@ class SBMH extends EventEmitter {
chunk = Buffer.from(chunk, 'binary')
}

const chlen = chunk.length

this._bufpos = pos

const chlen = chunk.length
let r
while (r !== chlen && this.matches < this.maxMatches) { r = this._sbmh_feed(chunk) }
return r
Expand Down

0 comments on commit 9e986cf

Please sign in to comment.