style: polish logging and lint hints

This commit is contained in:
Peter Steinberger committed 2025-12-20 01:48:29 +01:00
1 parent b2e11c504b
commit d67bec0740
13 files changed
+73 -23

No files matched your search

+2 -1
View File
@@ -113,7 +113,7 @@ final class NodeAppModel {
contextJSON: contextJSON)
let ok: Bool
var errorText: String? = nil
var errorText: String?
if await !self.isBridgeConnected() {
ok = false
errorText = "bridge not connected"
@@ -362,6 +362,7 @@ final class NodeAppModel {
return false
}
// swiftlint:disable:next function_body_length cyclomatic_complexity
private func handleInvoke(_ req: BridgeInvokeRequest) async -> BridgeInvokeResponse {
let command = req.command