mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-27 22:38:37 +00:00
fix(macos): clean warnings and harden gateway/talk config parsing
This commit is contained in:
@@ -8,7 +8,7 @@ enum ExecAllowlistMatcher {
|
||||
|
||||
for entry in entries {
|
||||
switch ExecApprovalHelpers.validateAllowlistPattern(entry.pattern) {
|
||||
case .valid(let pattern):
|
||||
case let .valid(pattern):
|
||||
let target = resolvedPath ?? rawExecutable
|
||||
if self.matches(pattern: pattern, target: target) { return entry }
|
||||
case .invalid:
|
||||
|
||||
Reference in New Issue
Block a user