Skip to content

Commit

Permalink
fix(linter): add nolint declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3r committed Jul 21, 2021
1 parent 72d2ff7 commit 7ff65e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/matcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ func getProccessedInputAndHitValue(messageInput, ruleRespondValue, ruleHearValue
return processedInput, hit
}

// handleChatServiceRule handles the processing logic for a rule that came from either the chat application or CLI remote
// handleChatServiceRule handles the processing logic for a rule that came from either the chat application or CLI remote\
// nolint:gocyclo // mark for refactor
func handleChatServiceRule(outputMsgs chan<- models.Message, message models.Message, hitRule chan<- models.Rule, rule models.Rule, processedInput string, hit bool, bot *models.Bot) (bool, bool) {
match, stopSearch := false, false
if rule.Respond != "" || rule.Hear != "" {
Expand Down

0 comments on commit 7ff65e0

Please sign in to comment.