From 66de8aedebc54a3eb9b2eafae1dc2e9056bbb526 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Thu, 15 Jan 2026 06:36:25 +0000 Subject: [PATCH] fix: satisfy swiftformat lint (#852) (thanks @mneves75) --- CHANGELOG.md | 1 + apps/macos/Sources/Clawdbot/ConnectionsStore+Config.swift | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05826d4b6..faef215fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ ### Fixes - Browser: add tests for snapshot labels/efficient query params and labeled image responses. - macOS: ensure launchd log directory exists with a test-only override. (#909) — thanks @roshanasingh4. +- macOS: format ConnectionsStore config to satisfy SwiftFormat lint. (#852) — thanks @mneves75. - Packaging: run `pnpm build` on `prepack` so npm publishes include fresh `dist/` output. - Telegram: register dock native commands with underscores to avoid `BOT_COMMAND_INVALID` (#929, fixes #901) — thanks @grp06. - Google: downgrade unsigned thinking blocks before send to avoid missing signature errors. diff --git a/apps/macos/Sources/Clawdbot/ConnectionsStore+Config.swift b/apps/macos/Sources/Clawdbot/ConnectionsStore+Config.swift index 2e8f12d42..73f0b6920 100644 --- a/apps/macos/Sources/Clawdbot/ConnectionsStore+Config.swift +++ b/apps/macos/Sources/Clawdbot/ConnectionsStore+Config.swift @@ -37,7 +37,8 @@ extension ConnectionsStore { private func resolveChannelConfig(_ snap: ConfigSnapshot, key: String) -> [String: AnyCodable]? { if let channels = snap.config?["channels"]?.dictionaryValue, - let entry = channels[key]?.dictionaryValue { + let entry = channels[key]?.dictionaryValue + { return entry } return snap.config?[key]?.dictionaryValue