lib/massa/analyzer.rb in massa-0.0.7 vs lib/massa/analyzer.rb in massa-0.0.8
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'bundler/setup' # Set up gems listed in the Gemfile.
require 'ostruct'
require 'yaml'
require 'English'
@@ -44,10 +46,10 @@
else
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 :red, "¯\\_(ツ)_/¯ #{tool.description} failed:"
Massa::CLI.colorize :yellow, "$ #{tool.command}"
puts command_output if command_output.to_s != ''
exit 1 if tool.required