Skip to content

Commit

Permalink
🎨 Print config
Browse files Browse the repository at this point in the history
  • Loading branch information
oschrenk committed Jan 25, 2025
1 parent 62f9059 commit 99d81d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/Cli/Watch.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ struct Watch: ParsableCommand {

mutating func run() {
let repo = EventRepo()
let hooks = Loader.readConfig()?.hooks ?? []
let config = Loader.readConfig()
StdOut.print("\(String(describing: config))")
let hooks = config?.hooks ?? []
repo.registerForEventStoreChanges(hooks: hooks)
dispatchMain()
}
Expand Down

0 comments on commit 99d81d3

Please sign in to comment.