lib/massa/analyzer.rb in massa-0.0.6 vs lib/massa/analyzer.rb in massa-0.0.7

- old
+ new

@@ -45,9 +45,11 @@ IO.popen(tool.command, err: [:child, :out]) { |io| command_output = io.read } end unless $CHILD_STATUS.success? Massa::CLI.colorize :red, "¯\\_(ツ)_/¯ #{tool.description} failed." + Massa::CLI.colorize :yellow, "$ #{tool.command}" + puts command_output if command_output.to_s != '' exit 1 if tool.required end end