We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 863f772 commit 69b1e68Copy full SHA for 69b1e68
lib/internal/dns/utils.js
@@ -52,7 +52,7 @@ class Resolver {
52
if (typeof serv !== 'string') {
53
throw new ERR_INVALID_ARG_TYPE(`servers[${index}]`, 'string', serv);
54
}
55
- var ipVersion = isIP(serv);
+ let ipVersion = isIP(serv);
56
57
if (ipVersion !== 0)
58
return newSet.push([ipVersion, serv, IANA_DNS_PORT]);
0 commit comments