lib/git/lint/analyzers/commit_subject_suffix.rb in git-lint-2.2.1 vs lib/git/lint/analyzers/commit_subject_suffix.rb in git-lint-2.3.0
- old
+ new
@@ -28,12 +28,10 @@
{hint: %(Avoid: #{filter_list.to_hint}.)}
end
protected
- def load_filter_list
- Kit::FilterList.new settings.fetch(:excludes)
- end
+ def load_filter_list = Kit::FilterList.new(settings.fetch(:excludes))
end
end
end
end