chore: lint and format cleanup

This commit is contained in:
Peter Steinberger
2026-01-04 16:24:10 +01:00
parent fd95ededaa
commit 026a25d164
45 changed files with 627 additions and 496 deletions

View File

@@ -100,7 +100,8 @@ enum ClawdbotConfigFile {
static func gatewayPassword() -> String? {
let root = self.loadDict()
guard let gateway = root["gateway"] as? [String: Any],
let remote = gateway["remote"] as? [String: Any] else {
let remote = gateway["remote"] as? [String: Any]
else {
return nil
}
return remote["password"] as? String
@@ -121,5 +122,4 @@ enum ClawdbotConfigFile {
}
return nil
}
}