lib/phare/check/jscs.rb in phare-0.5.2 vs lib/phare/check/jscs.rb in phare-0.6

- old
+ new

@@ -26,20 +26,18 @@ def binary_exists? !Phare.system_output('which jscs').empty? end def configuration_exists? - File.exists?(@config) + File.exist?(@config) end def argument_exists? - @tree.changed? || Dir.exists?(@path) + @tree.changed? || Dir.exist?(@path) end def print_banner - Phare.puts '---------------------------------------------' - Phare.puts 'Running JSCS to check for JavaScript style…' - Phare.puts '---------------------------------------------' + Phare.banner 'Running JSCS to check for JavaScript style…' end end end end