style(swift): apply lint and format cleanup

This commit is contained in:
Peter Steinberger
2026-03-03 03:07:46 +00:00
parent ba50dfaae3
commit 80efcb75c7
8 changed files with 15 additions and 19 deletions

View File

@@ -9,5 +9,4 @@ final class CanvasFileWatcher: @unchecked Sendable, SimpleFileWatcherOwner {
queueLabel: "ai.openclaw.canvaswatcher",
onChange: onChange))
}
}

View File

@@ -30,5 +30,4 @@ final class ConfigFileWatcher: @unchecked Sendable, SimpleFileWatcherOwner {
},
onChange: onChange))
}
}

View File

@@ -22,17 +22,17 @@ enum HostEnvSecurityPolicy {
"PS4",
"GCONV_PATH",
"IFS",
"SSLKEYLOGFILE"
"SSLKEYLOGFILE",
]
static let blockedOverrideKeys: Set<String> = [
"HOME",
"ZDOTDIR"
"ZDOTDIR",
]
static let blockedPrefixes: [String] = [
"DYLD_",
"LD_",
"BASH_FUNC_"
"BASH_FUNC_",
]
}

View File

@@ -406,5 +406,4 @@ actor VoicePushToTalk {
if suffix.isEmpty { return prefix }
return "\(prefix) \(suffix)"
}
}

View File

@@ -773,5 +773,4 @@ actor VoiceWakeRuntime {
}
#endif
}