lib/reek/cli/reek_command.rb in reek-3.0.4 vs lib/reek/cli/reek_command.rb in reek-3.1
- old
+ new
@@ -9,10 +9,10 @@
#
# @api private
class ReekCommand < Command
def execute(app)
@options.sources.each do |source|
- reporter.add_examiner Examiner.new(source, smell_names)
+ reporter.add_examiner Examiner.new(source, smell_names, configuration: app.configuration)
end
reporter.smells? ? app.report_smells : app.report_success
reporter.show
end