Skip to content

Commit

Permalink
removed null for sockHost option
Browse files Browse the repository at this point in the history
  • Loading branch information
knagaitsev committed May 10, 2019
1 parent 836f2bf commit c7a3c04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions lib/options.json
Expand Up @@ -289,14 +289,7 @@
"instanceof": "Function"
},
"sockHost": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
"type": "string"
},
"sockPath": {
"type": "string"
Expand Down
2 changes: 1 addition & 1 deletion test/options.test.js
Expand Up @@ -338,7 +338,7 @@ describe('options', () => {
failure: [false],
},
sockHost: {
success: ['', null],
success: [''],
failure: [false],
},
sockPath: {
Expand Down

0 comments on commit c7a3c04

Please sign in to comment.