From 6ee70e56e4196a357f7f383e0c95cd656a6a0bc9 Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 17 Jun 2013 19:18:42 -0700 Subject: fixed exception when logging certain errors - ironic! --- lib/leap_cli/log.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- cgit v1.2.3