doctor: correctly detect CLICOLOR_FORCE
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
0dbf06bbc8
commit
9a9846814f
@ -685,11 +685,10 @@ def check_for_MACOSX_DEPLOYMENT_TARGET
|
|||||||
end
|
end
|
||||||
|
|
||||||
def check_for_CLICOLOR_FORCE
|
def check_for_CLICOLOR_FORCE
|
||||||
target_var = ENV['CLICOLOR_FORCE'].to_s
|
if ENV['CLICOLOR_FORCE']
|
||||||
unless target_var.empty?
|
|
||||||
puts <<-EOS.undent
|
puts <<-EOS.undent
|
||||||
$CLICOLOR_FORCE was set to \"#{target_var}\".
|
Having $CLICOLOR_FORCE set can cause some builds to fail.
|
||||||
Having $CLICOLOR_FORCE set can cause git builds to fail.
|
You may want to unset it.
|
||||||
|
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user