style: swiftformat pass — drift from the format gate
CI / ci (push) Canceled after 0s

Whole-tree swiftformat/swiftlint run during #136 flagged 9 files
drifted (/// doc markers on private members, one force-unwrap to
#require). Comment- and lint-only, no code change.
This commit is contained in:
AlexKucera committed 2026-10-27 18:32:30 +01:00
1 parent 5ad605eb3c
commit a4ea914690
9 files changed
+18 -27

No files matched your search

+1 -2
View File
@@ -603,8 +603,7 @@ final class PostsModel {
/// main actor already; no re-hop needed.
private func startExternalWatch(url: URL) {
externalWatcher.onEvent = { [weak self] in
guard let self, let session = externalSession else { return }
guard let disk = try? String(contentsOf: url, encoding: .utf8) else { return }
guard let self, let session = externalSession, let disk = try? String(contentsOf: url, encoding: .utf8) else { return }
session.diskDidChange(diskText: disk)
}
externalWatcher.start(urls: [url.deletingLastPathComponent()])