Permalink
Browse files

net: change assert to conform to other files

PR-URL: #15861
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information...
jhodgskiss authored and Trott committed Oct 6, 2017
1 parent 6af8896 commit e399abd5823b5428e3f3752b3f16f75c302ae471
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/net.js
View
@@ -903,7 +903,7 @@ function internalConnect(
// TODO return promise from Socket.prototype.connect which
// wraps _connectReq.
assert.ok(self.connecting);
assert(self.connecting);
var err;
@@ -1154,7 +1154,7 @@ function afterConnect(status, handle, req, readable, writable) {
debug('afterConnect');
assert.ok(self.connecting);
assert(self.connecting);
self.connecting = false;
self._sockname = null;

0 comments on commit e399abd

Please sign in to comment.