style: fix lint formatting

main
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

@ -23,7 +23,7 @@ struct SkillStatus: Codable, Identifiable {
let configChecks: [SkillStatusConfigCheck]
let install: [SkillInstallOption]
var id: String { name }
var id: String { self.name }
}
struct SkillRequirements: Codable {
@ -43,7 +43,7 @@ struct SkillStatusConfigCheck: Codable, Identifiable {
let value: AnyCodable?
let satisfied: Bool
var id: String { path }
var id: String { self.path }
}
struct SkillInstallOption: Codable, Identifiable {

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[])
: [];