Skip to content

Commit 81ac752

Browse files
committed
remove unwanted formatting changes
1 parent 3d238a0 commit 81ac752

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/net.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,10 +793,12 @@ function onReadableStreamEnd() {
793793
}
794794
}
795795

796+
796797
Socket.prototype.destroySoon = function() {
797798
if (this.destroyingOnFinish) return;
798799

799-
if (this.writable) this.end();
800+
if (this.writable)
801+
this.end();
800802

801803
if (this.writableFinished)
802804
this.destroy();
@@ -809,6 +811,7 @@ Socket.prototype.destroySoon = function() {
809811
}
810812
};
811813

814+
812815
Socket.prototype._destroy = function(exception, cb) {
813816
debug('destroy');
814817

0 commit comments

Comments
 (0)