Skip to content

Commit 2cbf822

Browse files
committed
bug symfony#16578 [Console] Fix bug in windows detection (kbond)
This PR was submitted for the 2.8 branch but it was merged into the 2.7 branch instead (closes symfony#16578). Discussion ---------- [Console] Fix bug in windows detection | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#16577 | License | MIT | Doc PR | n/a Commits ------- c4068d9 Fix bug in windows detection
2 parents 59f357d + c4068d9 commit 2cbf822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Console/Style/SymfonyStyle.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public function createProgressBar($max = 0)
294294
{
295295
$progressBar = parent::createProgressBar($max);
296296

297-
if ('\\' === DIRECTORY_SEPARATOR) {
297+
if ('\\' !== DIRECTORY_SEPARATOR) {
298298
$progressBar->setEmptyBarCharacter(''); // light shade character \u2591
299299
$progressBar->setProgressCharacter('');
300300
$progressBar->setBarCharacter(''); // dark shade character \u2593

0 commit comments

Comments
 (0)