Skip to content

Commit

Permalink
Add missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
c032 committed Feb 21, 2024
1 parent 16301ae commit 2aca101
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions statuslineblockprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ func slbpToNotifier(ctx context.Context, p StatusLineBlockProvider) (Notifier, *
err := p(ctxProvider, ch)
if err != nil {
cancel(err)

return
}

cancel(nil)
Expand Down

0 comments on commit 2aca101

Please sign in to comment.