[CS] [Console] StreamOuput : fix loose comparison
This commit is contained in:
parent
cc749a67f6
commit
cd70ca8a51
@ -97,7 +97,7 @@ class StreamOutput extends Output
|
|||||||
protected function hasColorSupport()
|
protected function hasColorSupport()
|
||||||
{
|
{
|
||||||
// @codeCoverageIgnoreStart
|
// @codeCoverageIgnoreStart
|
||||||
if (DIRECTORY_SEPARATOR == '\\') {
|
if (DIRECTORY_SEPARATOR === '\\') {
|
||||||
return false !== getenv('ANSICON') || 'ON' === getenv('ConEmuANSI');
|
return false !== getenv('ANSICON') || 'ON' === getenv('ConEmuANSI');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user