lib/reek/plugin.rb in danger-reek-0.1.2 vs lib/reek/plugin.rb in danger-reek-0.2.0
- old
+ new
@@ -23,10 +23,10 @@
end
private
def run_linter(files_to_lint)
- configuration = ::Reek::Configuration::AppConfiguration.from_path
+ configuration = ::Reek::Configuration::AppConfiguration.from_path(nil)
files_to_lint.flat_map do |file|
examiner = ::Reek::Examiner.new(file, configuration: configuration)
examiner.smells
end
end