lib/tasks/reek.rake in p8-metric_fu-0.8.4.3 vs lib/tasks/reek.rake in p8-metric_fu-0.8.4.4

- old
+ new

@@ -7,8 +7,8 @@ task :reek do mkdir_p(REEK_DIR) unless File.directory?(REEK_DIR) `echo '<pre>' > #{REEK_FILE}` `reek #{RAILS_ROOT}/test/**/*.rb #{RAILS_ROOT}/app/**/*.rb >> #{REEK_FILE}` `echo '</pre>' >> #{REEK_FILE}` - system("open #{REEK_FILE}") if PLATFORM['darwin'] + system("open #{REEK_FILE}") if MetricFu.open_in_browser? end end \ No newline at end of file