mirror of
https://github.com/denoland/deno.git
synced 2025-01-05 13:59:01 -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;
|
||||
}
|
||||
|
||||
if (this._headerSent) {
|
||||
return this._writeRaw(data, encoding, callback);
|
||||
}
|
||||
return this._writeRaw(data, encoding, callback);
|
||||
} else {
|
||||
this.outputData.push({ data, encoding, callback });
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue