lib/ext/fog.rb in fucking_shell_scripts-0.99 vs lib/ext/fog.rb in fucking_shell_scripts-1.0
- old
+ new
@@ -18,16 +18,16 @@
raise "Could not execute command: #{command.inspect}"
end
channel.on_data do |ch, data|
result.stdout << data
- puts data
+ print data
end
channel.on_extended_data do |ch, type, data|
next unless type == 1
result.stderr << data
- puts data
+ print data
end
channel.on_request('exit-status') do |ch, data|
result.status = data.read_long
end