lib/ztk/command.rb in ztk-1.1.0 vs lib/ztk/command.rb in ztk-1.1.1

- old
+ new

@@ -156,10 +156,10 @@ options.ui.logger.debug { "exit_code(#{exit_code})" } if !options.ignore_exit_status && (exit_code != options.exit_code) log_and_raise(CommandError, "exec(#{command.inspect}, #{options.inspect}) failed! [#{exit_code}]") end - OpenStruct.new(:output => output, :exit_code => exit_code) + OpenStruct.new(:command => command, :output => output, :exit_code => exit_code) end # Not Supported # @raise [CommandError] Not Supported def upload(*args)