lib/git/lint/analyzers/commit_body_phrase.rb in git-lint-5.3.0 vs lib/git/lint/analyzers/commit_body_phrase.rb in git-lint-6.0.0
- old
+ new
@@ -16,10 +16,12 @@
}
end
protected
- def load_filter_list = Kit::FilterList.new(settings.excludes)
+ def load_filter_list
+ Kit::FilterList.new configuration.commits_body_phrase_excludes
+ end
def invalid_line? line
line.downcase.match? Regexp.new(
Regexp.union(filter_list.to_regexp).source,
Regexp::IGNORECASE