lib/hanzo.rb in hanzo-0.3.1 vs lib/hanzo.rb in hanzo-0.4
- old
+ new
@@ -8,12 +8,10 @@
require 'hanzo/version'
module Hanzo
def self.run(command)
print(command, :green)
- output = nil
- ::Bundler.with_clean_env { output = `#{command}` }
- output
+ ::Bundler.with_clean_env { system(command) }
end
def self.print(text = '', *colors)
colors = colors.map { |c| HighLine.const_get(c.to_s.upcase) }
text = text.join("\n ") if text.is_a?(Array)