Skip to content

Commit

Permalink
fix: webhook parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
iseki0 committed Nov 26, 2024
1 parent eeb35cd commit 58bf870
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/murphy/internal/common/webhook_mode.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ func (w *WebhookModeFlag) Set(s string) error {
w.simple = true
} else if s == "" || s == "full" {
w.simple = false
} else {
return fmt.Errorf("invalid webhook mode: %s", strconv.Quote(s))
}
return fmt.Errorf("invalid webhook mode: %s", strconv.Quote(s))
return nil
}

func (w *WebhookModeFlag) Type() string {
Expand Down

0 comments on commit 58bf870

Please sign in to comment.