From 67d8a5d1d42f716ec01c40fba9daaf04f268694e Mon Sep 17 00:00:00 2001 From: Jon Moss Date: Sat, 4 Aug 2018 15:30:21 -0400 Subject: [PATCH] squash!: fix path --> options.path --- lib/net.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net.js b/lib/net.js index 138608c48d2c14..4b19f6b6368641 100644 --- a/lib/net.js +++ b/lib/net.js @@ -980,7 +980,7 @@ Socket.prototype.connect = function(...args) { this.writable = true; if (pipe) { - validateString(path, 'path'); + validateString(path, 'options.path'); defaultTriggerAsyncIdScope( this[async_id_symbol], internalConnect, this, path );