style: resolve swift lint warnings

This commit is contained in:
Peter Steinberger committed 2026-01-19 13:37:28 +00:00
1 parent 48bfaa2371
commit 79c93b2cf8
8 files changed
+68 -32

No files matched your search

@@ -733,7 +733,9 @@ actor MacNodeRuntime {
return BridgeInvokeResponse(id: req.id, ok: true)
}
}
}
extension MacNodeRuntime {
private static func decodeParams<T: Decodable>(_ type: T.Type, from json: String?) throws -> T {
guard let json, let data = json.data(using: .utf8) else {
throw NSError(domain: "Gateway", code: 20, userInfo: [