Skip to content

Commit 67d8a5d

Browse files
committed
squash!: fix path --> options.path
1 parent 85cf319 commit 67d8a5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ Socket.prototype.connect = function(...args) {
980980
this.writable = true;
981981

982982
if (pipe) {
983-
validateString(path, 'path');
983+
validateString(path, 'options.path');
984984
defaultTriggerAsyncIdScope(
985985
this[async_id_symbol], internalConnect, this, path
986986
);

0 commit comments

Comments
 (0)