mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-29 01:02:03 +03:00
style(swift): run swiftformat + swiftlint autocorrect
This commit is contained in:
@@ -103,7 +103,9 @@ actor PortGuardian {
|
||||
let status: Status
|
||||
let listeners: [ReportListener]
|
||||
|
||||
var id: Int { self.port }
|
||||
var id: Int {
|
||||
self.port
|
||||
}
|
||||
|
||||
var offenders: [ReportListener] {
|
||||
if case let .interference(_, offenders) = self.status { return offenders }
|
||||
@@ -141,7 +143,9 @@ actor PortGuardian {
|
||||
let user: String?
|
||||
let expected: Bool
|
||||
|
||||
var id: Int32 { self.pid }
|
||||
var id: Int32 {
|
||||
self.pid
|
||||
}
|
||||
}
|
||||
|
||||
func diagnose(mode: AppState.ConnectionMode) async -> [PortReport] {
|
||||
|
||||
Reference in New Issue
Block a user