Skip to content

Commit 5f486cd

Browse files
James Hodgskisstargos
James Hodgskiss
authored andcommittedOct 18, 2017
net: change assert to conform to other files
PR-URL: #15861 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 228940d commit 5f486cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎lib/net.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ function internalConnect(
899899
// TODO return promise from Socket.prototype.connect which
900900
// wraps _connectReq.
901901

902-
assert.ok(self.connecting);
902+
assert(self.connecting);
903903

904904
var err;
905905

@@ -1150,7 +1150,7 @@ function afterConnect(status, handle, req, readable, writable) {
11501150

11511151
debug('afterConnect');
11521152

1153-
assert.ok(self.connecting);
1153+
assert(self.connecting);
11541154
self.connecting = false;
11551155
self._sockname = null;
11561156

0 commit comments

Comments
 (0)
Please sign in to comment.