Skip to content
Permalink
Browse files

test: dns utils replace var

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 MylesBorins committed Nov 12, 2019
1 parent daa5932 commit 7f0e7fd4b25646c4496e20466fe4a8482db2feb5
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/internal/dns/utils.js
@@ -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]);

0 comments on commit 7f0e7fd

Please sign in to comment.
You can’t perform that action at this time.