lib/quality/rake/task.rb in quality-0.2.7 vs lib/quality/rake/task.rb in quality-0.2.8
- old
+ new
@@ -69,18 +69,16 @@
tools = ['cane', 'flog', 'flay', 'reek', 'rubocop']
tools.each do |tool|
installed = Gem::Specification.find_all_by_name(tool).any?
suppressed = @skip_tools.include? tool
- if installed
+ if !installed
puts "#{tool} not installed"
elsif suppressed
puts "Suppressing use of #{tool}"
else
method("quality_#{tool}".to_sym).call
end
- elsif
- puts ""
end
end
def ratchet_quality_cmd(cmd,
options,