diff options
author | elijah <elijah@riseup.net> | 2014-03-13 01:04:54 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-03-13 01:04:54 -0700 |
commit | 2c2125b372bcfc69764f8f2a2ec6a1410f2e0669 (patch) | |
tree | 957892117dbe2b73f52470191432dd59da029d95 | |
parent | 82a1295f3a41ace4be6398945dd53e9c300a6d11 (diff) | |
download | leap_cli-2c2125b372bcfc69764f8f2a2ec6a1410f2e0669.tar.gz leap_cli-2c2125b372bcfc69764f8f2a2ec6a1410f2e0669.tar.bz2 |
make sure --no-color is respected by remote logging as well as local logging.
-rw-r--r-- | lib/leap_cli/logger.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/logger.rb b/lib/leap_cli/logger.rb index 91fa22d..954ffe2 100644 --- a/lib/leap_cli/logger.rb +++ b/lib/leap_cli/logger.rb @@ -198,7 +198,7 @@ module LeapCli if color == :hide return nil - elsif mode == :log || (color == :none && style.nil?) + elsif mode == :log || (color == :none && style.nil?) || !LeapCli.log_in_color return [message, line_prefix, options] else term_color = COLORS[color] |