lib/rubycritic/orchestrator.rb in rubycritic-1.1.0 vs lib/rubycritic/orchestrator.rb in rubycritic-1.1.1
- old
+ new
@@ -12,10 +12,10 @@
def critique(paths)
analysed_modules = ModulesInitializer.init(paths)
AnalysersRunner.new(analysed_modules, @source_control_system).run
if @source_control_system.has_revision?
- RevisionComparator.new(analysed_modules, @source_control_system).set_statuses
+ RevisionComparator.new(analysed_modules, @source_control_system, paths).set_statuses
end
analysed_modules
end
end