diff options
author | elijah <elijah@riseup.net> | 2013-06-17 19:18:42 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-06-17 19:18:42 -0700 |
commit | 6ee70e56e4196a357f7f383e0c95cd656a6a0bc9 (patch) | |
tree | 1b257e4438eb0be4dad8e22ea12e9c021eb91a76 /lib | |
parent | a722c739945cb83f85340e4a31b717b0f4af64a0 (diff) | |
download | leap_cli-6ee70e56e4196a357f7f383e0c95cd656a6a0bc9.tar.gz leap_cli-6ee70e56e4196a357f7f383e0c95cd656a6a0bc9.tar.bz2 |
fixed exception when logging certain errors - ironic!
Diffstat (limited to 'lib')
-rw-r--r-- | lib/leap_cli/log.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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] |