http: remove duplicate export
5425e0dcbee1ed8f6687203eafb7c3cf214f3393 switched to using the module.exports pattern vs just exports, but left a duplicate export around for OutgoingMessage. PR-URL: https://github.com/nodejs/node/pull/17982 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
This commit is contained in:
parent
c043b82655
commit
189d29f39e
@ -179,9 +179,6 @@ OutgoingMessage.prototype._renderHeaders = function _renderHeaders() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
exports.OutgoingMessage = OutgoingMessage;
|
|
||||||
|
|
||||||
|
|
||||||
OutgoingMessage.prototype.setTimeout = function setTimeout(msecs, callback) {
|
OutgoingMessage.prototype.setTimeout = function setTimeout(msecs, callback) {
|
||||||
|
|
||||||
if (callback) {
|
if (callback) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user