Skip to content

Commit

Permalink
v6.0.0 Default register to resolveSrv true
Browse files Browse the repository at this point in the history
  • Loading branch information
amirmocto / royvandewater committed Feb 10, 2017
1 parent 226eb43 commit 1c376e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions command-register.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,13 @@ class KeygenCommand
process.exit 1

parseConfig: =>
return {resolveSrv: true} unless commander.url?
{protocol, hostname, port} = @parseServer()
{type} = commander

return {protocol, hostname, port, type}

parseServer: =>
return {protocol: DEFAULT_PROTOCOL, hostname: DEFAULT_HOST, port: DEFAULT_PORT} unless commander.url?

{protocol, hostname, port} = url.parse commander.url
return {protocol, hostname, port}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "meshblu-util",
"version": "5.11.0",
"version": "6.0.0",
"description": "Utils for managing Meshblu devices",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit 1c376e0

Please sign in to comment.