lib/reek/plugin.rb in danger-reek-0.1.1 vs lib/reek/plugin.rb in danger-reek-0.1.2

- old
+ new

@@ -23,11 +23,12 @@ end private def run_linter(files_to_lint) + configuration = ::Reek::Configuration::AppConfiguration.from_path files_to_lint.flat_map do |file| - examiner = ::Reek::Examiner.new(file) + examiner = ::Reek::Examiner.new(file, configuration: configuration) examiner.smells end end def fetch_files_to_lint