lib/tasks/flay.rake in p8-metric_fu-0.8.4 vs lib/tasks/flay.rake in p8-metric_fu-0.8.4.1

- old
+ new

@@ -1,9 +1,7 @@ -FLAY_DIR = File.join(MetricFu::BASE_DIRECTORY, 'flay') - namespace :metrics do desc "Generate code duplication report with flay" task :flay do - MetricFu::FlayReporter.generate_report(FLAY_DIR) + MetricFu.generate_flay_report system("open #{FLAY_DIR}/index.html") if PLATFORM['darwin'] end end \ No newline at end of file