style: polish logging and lint hints
This commit is contained in:
1 parent
b2e11c504b
commit
d67bec0740
13 files changed
+73
-23
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user