Using sshkit@master, airbrussh command output is sometimes truncated/malformatted
mattbrictson opened this issue · 1 comments
mattbrictson commented
When running against capistrano/sshkit@c840d4f, and when setting airbrussh's command_output=true
, sometimes the output that is printed is truncated and strangely formatted.
For example, the Pretty
formatter correctly shows the expected output:
DEBUG [dd068496] 28f6d5b8bc180225ea83bc2f87d3ec4fbe1fe88b refs/heads/analytical
a0d107abac1f7312c76da7cadd94e471cf29e02e refs/heads/google-analytics
3405c542e9bf56dbe7b64020c1f7b67185edb589 refs/heads/master
a3cc7a6d62986a085ffd0d27dae85812e335fb25 refs/heads/outdated
43b8fc41129d7afd05e70369d56025b11f07345a refs/heads/pacific-time
f3b9157c004d3edbc195fef1138f6d680199ff76 refs/heads/sitemap
But the airbrussh console output only shows:
00:01 git:check
01 git ls-remote --heads git@bitbucket.org:user/repo.git
01 28f6d5b8bc180225ea83bc2f87d3ec4fbe1fe88b refs/heads/analytical
a0d107abac1f7312c76da7cadd94e471cf29e02e refs…
✔ 01 deployer@remote-ip 1.479s
My guess is that output being logged contains newlines which should be split before sending to Console#print_line
.
mattbrictson commented
Fixed via #51.