SwiftFormat: format macOS sources

This commit is contained in:
Nima Karimi
2026-01-15 14:40:57 +00:00
committed by Peter Steinberger
parent 9b8ae62399
commit d42f767d0c
50 changed files with 343 additions and 342 deletions

View File

@@ -30,9 +30,9 @@ enum LogLocator {
self.ensureLogDirExists()
let fm = FileManager.default
let files = (try? fm.contentsOfDirectory(
at: self.logDir,
includingPropertiesForKeys: [.contentModificationDateKey],
options: [.skipsHiddenFiles])) ?? []
at: self.logDir,
includingPropertiesForKeys: [.contentModificationDateKey],
options: [.skipsHiddenFiles])) ?? []
return files
.filter { $0.lastPathComponent.hasPrefix("clawdbot") && $0.pathExtension == "log" }