Skip to content

Commit c4068d9

Browse files
kbondfabpot
authored andcommitted
Fix bug in windows detection
1 parent 59f357d commit c4068d9

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)