style: fix lint formatting
parent
44c951e432
commit
49654803aa
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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[])
|
||||
: [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue