Skip to content

Commit

Permalink
fix line length
Browse files Browse the repository at this point in the history
  • Loading branch information
BridgeAR committed Jun 16, 2017
1 parent dcb6cde commit 8ee82af
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/net.js
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,10 @@ Socket.prototype.connect = function() {

if (pipe) {
if (typeof path !== 'string') {
throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'options.path', 'string', path);
throw new errors.TypeError('ERR_INVALID_ARG_TYPE',
'options.path',
'string',
path);
}
internalConnect(this, path);
} else {
Expand Down

0 comments on commit 8ee82af

Please sign in to comment.