lib/massa/analyzer.rb in massa-0.0.4 vs lib/massa/analyzer.rb in massa-0.0.5
- old
+ new
@@ -44,10 +44,10 @@
IO.popen(tool.command, err: [:child, :out]) { |io| command_output = io.read }
end
unless $?.success?
Massa::CLI.colorize :red, "¯\\_(ツ)_/¯ #{tool.description} failed."
- puts command_output if command_output.present?
+ puts command_output if command_output.to_s != ''
exit 1 if tool.required
end
end
end