formatting
| @@ -398,7 +398,6 @@ async function canResolve(name, useIPv6 = true, useIPv4 = true) { | ||
| 398 | 398 | } |
| 399 | 399 | } |
| 400 | 400 | |
| 401 | - // If we need to check IPv4 resolution | |
| 402 | 401 | if (useIPv4) { |
| 403 | 402 | try { |
| 404 | 403 | await dnsPromise.resolve(name); |
| @@ -768,7 +767,7 @@ const preSetupTasks = async function () { | ||
| 768 | 767 | |
| 769 | 768 | /** |
| 770 | 769 | * Gets the hostname to use for autorun in the browser. |
| 771 | 770 | * @returns promise({Promise<string}> The hostname to use for autorun |
| 772 | 771 | */ |
| 773 | 772 | async function getAutorunHostname(useIPv6, useIPv4) { |
| 774 | 773 | if (autorunHostname === 'auto') { |