Skip to content

Commit

Permalink
test: dns utils replace var
Browse files Browse the repository at this point in the history
PR-URL: #30405
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
ovhemert authored and addaleax committed Nov 30, 2019
1 parent 55fbe45 commit d6a4488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/dns/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Resolver {
if (typeof serv !== 'string') {
throw new ERR_INVALID_ARG_TYPE(`servers[${index}]`, 'string', serv);
}
var ipVersion = isIP(serv);
let ipVersion = isIP(serv);

if (ipVersion !== 0)
return newSet.push([ipVersion, serv, IANA_DNS_PORT]);
Expand Down

0 comments on commit d6a4488

Please sign in to comment.