style: fix lint formatting

This commit is contained in:
Peter Steinberger
2025-12-20 14:47:05 +01:00
parent 44c951e432
commit 49654803aa
2 changed files with 5 additions and 3 deletions

View File

@@ -26,7 +26,9 @@ export async function getTailnetHostname(exec: typeof runExec = runExec) {
? (parsed.Self as Record<string, unknown>)
: undefined;
const dns =
typeof self?.DNSName === "string" ? (self.DNSName as string) : undefined;
typeof self?.DNSName === "string"
? (self.DNSName as string)
: undefined;
const ips = Array.isArray(self?.TailscaleIPs)
? (self.TailscaleIPs as string[])
: [];