1
0
Fork 0
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:
Yoshiya Hinosawa 2024-10-25 15:18:03 +09:00
parent cb8cfc8fe3
commit 91904db2a7
No known key found for this signature in database
GPG key ID: 9017DB4559488785

View file

@ -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 });
} }