Skip to content

Commit cd70ca8

Browse files
committed
[CS] [Console] StreamOuput : fix loose comparison
1 parent cc749a6 commit cd70ca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Console/Output/StreamOutput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ protected function doWrite($message, $newline)
9797
protected function hasColorSupport()
9898
{
9999
// @codeCoverageIgnoreStart
100-
if (DIRECTORY_SEPARATOR == '\\') {
100+
if (DIRECTORY_SEPARATOR === '\\') {
101101
return false !== getenv('ANSICON') || 'ON' === getenv('ConEmuANSI');
102102
}
103103

0 commit comments

Comments
 (0)