lib/zold/commands/remote.rb in zold-0.19.2 vs lib/zold/commands/remote.rb in zold-0.20.0

- old
+ new

@@ -161,10 +161,16 @@ private def show @remotes.all.each do |r| score = Rainbow("/#{r[:score]}").color(r[:score].positive? ? :green : :red) - @log.info("#{r[:host]}:#{r[:port]}#{score} #{r[:errors]} errors#{r[:default] ? ' default' : ''}") + @log.info( + [ + "#{r[:host]}:#{r[:port]}#{score}", + r[:errors].positive? ? " #{r[:errors]} errors" : '', + r[:master] ? ' [master]' : '' + ].join + ) end end def clean before = @remotes.all.count