Skip to content

Commit 3d238a0

Browse files
committed
remove unwanted brackets
1 parent c2e85a0 commit 3d238a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/net.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,9 +798,9 @@ Socket.prototype.destroySoon = function() {
798798

799799
if (this.writable) this.end();
800800

801-
if (this.writableFinished) {
801+
if (this.writableFinished)
802802
this.destroy();
803-
} else {
803+
else {
804804
this.destroyingOnFinish = true;
805805
this.once('finish', () => {
806806
this.destroyingOnFinish = false;

0 commit comments

Comments
 (0)