Skip to content

Commit

Permalink
Fix typo in BufferList.shiftFirst.
Browse files Browse the repository at this point in the history
  • Loading branch information
doxavore committed Jan 15, 2025
1 parent 126968f commit 7b6d89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extract.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class BufferList {
}

shiftFirst (size) {
return this._buffered === 0 ? null : this._next(size)
return this.buffered === 0 ? null : this._next(size)
}

shift (size) {
Expand Down

0 comments on commit 7b6d89d

Please sign in to comment.