]> gitweb.fluxo.info Git - leap/leap_cli.git/commitdiff
fixed exception when logging certain errors - ironic!
authorelijah <elijah@riseup.net>
Tue, 18 Jun 2013 02:18:42 +0000 (19:18 -0700)
committerelijah <elijah@riseup.net>
Tue, 18 Jun 2013 02:18:42 +0000 (19:18 -0700)
lib/leap_cli/log.rb

index 4d5e4da50a2f12eebb6eae10f4d4abfd4733e724..4bdcc33c5332913c317ba3174405af40ccfdaf56 100644 (file)
@@ -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]