diff options
author | adamedx <adamed@getchef.com> | 2014-08-23 07:48:29 -0700 |
---|---|---|
committer | adamedx <adamed@getchef.com> | 2014-10-09 10:52:31 -0700 |
commit | f8a8a28573607ed43980affe82944a82322303f6 (patch) | |
tree | 13db8d4f6a1f53d246e5890365de6f72788f0bb2 | |
parent | d75c5b69de9ec183a0ba1c90c6dc5e3c58799301 (diff) | |
download | chef-f8a8a28573607ed43980affe82944a82322303f6.tar.gz |
Stop ignoring colored knife output config on Windows
-rw-r--r-- | lib/chef/knife/core/ui.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/core/ui.rb b/lib/chef/knife/core/ui.rb index 0007480ea2..f3ecfbcae8 100644 --- a/lib/chef/knife/core/ui.rb +++ b/lib/chef/knife/core/ui.rb @@ -113,7 +113,7 @@ class Chef # determined by the value of `config[:color]`. When output is not to a # terminal, colored output is never used def color? - Chef::Config[:color] && stdout.tty? && !Chef::Platform.windows? + Chef::Config[:color] && stdout.tty? end def ask(*args, &block) |