Fix various SwiftLint warnings.

This commit is contained in:
Brent Simmons committed 2026-01-02 17:50:35 -08:00
1 parent d9216a3275
commit 9ff1bd9836
104 files changed
+365 -363

No files matched your search

+3 -3
View File
@@ -64,7 +64,7 @@ import RSCore
or
tell account X to make new folder at end with properties {name:"new folder name"}
*/
static func handleCreateElement(command: NSCreateCommand) -> Any? {
static func handleCreateElement(command: NSCreateCommand) -> Any? {
guard command.isCreateCommand(forClass: "fold") else {
return nil
}
@@ -97,7 +97,7 @@ import RSCore
// MARK: - Scriptable elements
@objc(feeds)
var feeds: NSArray {
var feeds: NSArray {
let feeds = Array(folder.topLevelFeeds)
return feeds.map { ScriptableFeed($0, container: self) } as NSArray
}
@@ -142,7 +142,7 @@ import RSCore
// MARK: - Scriptable properties
@objc(name)
var name: String {
var name: String {
folder.name ?? ""
}