lib/shuttle/hook.rb in shuttle-deploy-0.2.0.beta14 vs lib/shuttle/hook.rb in shuttle-deploy-0.2.0.beta15
- old
+ new
@@ -24,10 +24,12 @@
result = @deploy.ssh.run(command)
if result.failure? && allow_failures == false
@deploy.error("Failed: #{result.output}")
else
- @deploy.stream_output(result.output)
+ if !result.output.empty?
+ @deploy.stream_output(result.output)
+ end
end
end
end
end
\ No newline at end of file