From 8feae4dee42dcb2956676a4b5019f5d750e53402 Mon Sep 17 00:00:00 2001 From: Shiming Zhang Date: Fri, 18 Mar 2022 10:20:53 +0800 Subject: [PATCH] Update evaluator.go --- evaluator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evaluator.go b/evaluator.go index df58661..2f490c3 100644 --- a/evaluator.go +++ b/evaluator.go @@ -18,7 +18,7 @@ func (e Evaluator) Evaluate(r io.Reader) ([]*gitdiff.File, []*Reasons, error) { } filterers := []Filterer{ - FocusSuffixFilterer{".sh", ".bash", ".c", ".go", ".py", ".java", ".cpp", ".h", ".hpp"}, + FocusSuffixFilterer{".sh", ".bash", ".c", ".go", ".py", ".java", ".cpp", ".h", ".hpp", ".yaml", ".yml"}, PrefixFilterer{"vendor/", "test/", "tests/"}, ContainsFilterer{"generated", "testdata"}, SuffixFilterer{"_test.go"},