Skip to content

Commit

Permalink
comment the test slack hook as it will fail on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
raphi011 committed Nov 19, 2024
1 parent b29a175 commit 0c7562d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hook_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"log/slog"
"sync"

"github.com/raphi011/handoff/internal/hook"
// "github.com/raphi011/handoff/internal/hook"
"github.com/raphi011/handoff/internal/model"
)

Expand Down Expand Up @@ -70,7 +70,7 @@ func newHookManager(hookCallback asyncHookCallback, log *slog.Logger) *hookManag

func (s *hookManager) init() error {
// for testing purposes
s.all = append(s.all, hook.NewSlackHook("", "", s.log))
// s.all = append(s.all, hook.NewSlackHook("", "", s.log))

for _, p := range s.all {
if err := p.Init(); err != nil {
Expand Down

0 comments on commit 0c7562d

Please sign in to comment.