lib/command.rb in wixgem-0.46.0 vs lib/command.rb in wixgem-0.47.0
- old
+ new
@@ -20,11 +20,11 @@
begin
puts self[:command] unless(self[:quiet])
self[:output],self[:error], self[:exit_code] = Open3.capture3(self[:command])
self[:exit_code]=self[:exit_code].to_i
- puts self[:output] unless(self[:quiet])
if(self[:debug])
+ puts "output: #{self[:output]}"
puts "error: #{self[:error]}"
puts "exit_code: #{self[:exit_code]}"
end
rescue Exception => e
self[:error] = "Exception: " + e.to_s
\ No newline at end of file