lib/skunk/cli/commands/default.rb in skunk-0.2.0 vs lib/skunk/cli/commands/default.rb in skunk-0.3.0

- old
+ new

@@ -18,19 +18,16 @@ super @status_reporter = Skunk::Command::StatusReporter.new(@options) end def execute + RubyCritic::Config.formats = [] + report(critique) status_reporter end - def critique - RubyCritic::AnalysersRunner.new(paths).run - end - def report(analysed_modules) - RubyCritic::Reporter.generate_report(analysed_modules) status_reporter.analysed_modules = analysed_modules status_reporter.score = analysed_modules.score end end end