Skip to content

Commit

Permalink
refactor(lib/request): remove unused params
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Jan 7, 2025
1 parent 67a6fe5 commit dc09eb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ function Request (options) {
return this
}

function readStream (size) {
function readStream () {
const payload = this._lightMyRequest.payload

let more = true
Expand All @@ -232,7 +232,7 @@ function readStream (size) {
}
}

function readEverythingElse (size) {
function readEverythingElse () {
setImmediate(() => {
if (this._lightMyRequest.isDone) {
// 'end' defaults to true
Expand Down

0 comments on commit dc09eb8

Please sign in to comment.