From c7a3c043c00bafd48f5f556c050d26a2f7c1be7c Mon Sep 17 00:00:00 2001 From: Kirill Nagaitsev Date: Fri, 10 May 2019 01:07:04 -0500 Subject: [PATCH] removed null for sockHost option --- lib/options.json | 9 +-------- test/options.test.js | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/options.json b/lib/options.json index 300d90f317..2f5b32caa5 100644 --- a/lib/options.json +++ b/lib/options.json @@ -289,14 +289,7 @@ "instanceof": "Function" }, "sockHost": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "type": "string" }, "sockPath": { "type": "string" diff --git a/test/options.test.js b/test/options.test.js index 1fab7dcff8..e659ffcddd 100644 --- a/test/options.test.js +++ b/test/options.test.js @@ -338,7 +338,7 @@ describe('options', () => { failure: [false], }, sockHost: { - success: ['', null], + success: [''], failure: [false], }, sockPath: {