From: elijah Date: Tue, 18 Jun 2013 02:18:42 +0000 (-0700) Subject: fixed exception when logging certain errors - ironic! X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=6ee70e56e4196a357f7f383e0c95cd656a6a0bc9;p=leap%2Fleap_cli.git fixed exception when logging certain errors - ironic! --- diff --git a/lib/leap_cli/log.rb b/lib/leap_cli/log.rb index 4d5e4da..4bdcc33 100644 --- a/lib/leap_cli/log.rb +++ b/lib/leap_cli/log.rb @@ -97,7 +97,7 @@ module LeapCli else [title.to_s, :cyan, :bold] end if options[:host] - clear_prefix = "[%s] %s " % options[:host], prefix_options[0] + clear_prefix = "[%s] %s " % [options[:host], prefix_options[0]] colored_prefix = "[%s] %s " % [Paint[options[:host], prefix_options[1], prefix_options[2]], prefix_options[0]] else clear_prefix = "%s " % prefix_options[0]