formatting

This commit is contained in:
BPplays
2025-01-09 07:30:22 -08:00
parent bab4f21056
commit d177314676

View File

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