mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-26 04:08:37 +00:00
fix(macos): clean warnings and harden gateway/talk config parsing
This commit is contained in:
@@ -366,9 +366,9 @@ private enum ExecHostExecutor {
|
||||
rawCommand: request.rawCommand)
|
||||
let displayCommand: String
|
||||
switch validatedCommand {
|
||||
case .ok(let resolved):
|
||||
case let .ok(resolved):
|
||||
displayCommand = resolved.displayCommand
|
||||
case .invalid(let message):
|
||||
case let .invalid(message):
|
||||
return self.errorResponse(
|
||||
code: "INVALID_REQUEST",
|
||||
message: message,
|
||||
|
||||
Reference in New Issue
Block a user