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: {