macos: swiftlint 'empty_parentheses_with_trailing_closure' rule

This commit is contained in:
Jon Parise
2026-02-19 18:35:40 -05:00
parent 1b827e3e45
commit a83c8f8a9d
2 changed files with 1 additions and 2 deletions

View File

@@ -14,7 +14,6 @@ disabled_rules:
# TODO
- deployment_target
- empty_parentheses_with_trailing_closure
- for_where
- force_cast
- implicit_getter

View File

@@ -1377,7 +1377,7 @@ extension Ghostty {
}
}
center.getNotificationSettings() { settings in
center.getNotificationSettings { settings in
guard settings.authorizationStatus == .authorized else { return }
surfaceView.showUserNotification(title: title, body: body)
}