mirror of
https://github.com/denoland/deno.git
synced 2025-01-07 06:46:59 -05:00
remove unnecessary if check
This commit is contained in:
parent
cb8cfc8fe3
commit
91904db2a7
1 changed files with 1 additions and 3 deletions
|
@ -514,9 +514,7 @@ Object.defineProperties(
|
||||||
this._headerSent = true;
|
this._headerSent = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this._headerSent) {
|
return this._writeRaw(data, encoding, callback);
|
||||||
return this._writeRaw(data, encoding, callback);
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
this.outputData.push({ data, encoding, callback });
|
this.outputData.push({ data, encoding, callback });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue