From e4dc1adc13d7c5730e812d8423715bd77f50a332 Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Fri, 1 Nov 2024 03:38:22 -0400 Subject: [PATCH] feat(parser/keyword): remove min score --- internal/parser/keyword/parser.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/parser/keyword/parser.go b/internal/parser/keyword/parser.go index 78a4cc6..a5f9736 100644 --- a/internal/parser/keyword/parser.go +++ b/internal/parser/keyword/parser.go @@ -16,7 +16,6 @@ type Match struct { type Conf struct { Score int FullScore int // TODO: remove me - MinScore int Files []string ForceQuitOnMatch bool Matches []Match @@ -47,7 +46,7 @@ func Parse(executorResult stage.ExecutorResult, conf Conf) ( } } return stage.ParserResult{ - Score: max(score, conf.MinScore), + Score: score, Comment: comment, }, matched }