Skip to content

Commit 2cbf822

Browse files
committed
bug #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 #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 | #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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy