We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d30e112 commit d074cf2Copy full SHA for d074cf2
Sources/Cli/Calendars.swift
@@ -26,12 +26,10 @@ struct Calendars: ParsableCommand {
26
mutating func run() {
27
Log.setDebug(debug)
28
29
- let calendarFilter = CalendarFilter.build(
30
- opts: opts
31
- )
32
-
33
- let service = EventService(repo: EventRepo())
34
- let calendars = service.calendars(filter: calendarFilter)
+ let calendars = EventService(repo: EventRepo())
+ .calendars(filter: CalendarFilter.build(
+ opts: opts
+ ))
35
36
switch format {
37
case .json:
0 commit comments