Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[Console] fix progress bar messing output in section when there is an EOL#59874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
8283b46
toc93d5e0
CompareThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
With the proposed fix, it works as expected with an endingPHP_EOL
, but it still remove some lines when the endingPHP_EOL
is not present, at least as long as the$message
is an empty string.
9be3790
toad6661e
CompareThanks for the insight@cedric-anne i added a test and changed the fix to make it work in both cases |
I still have the issue if I use the following format: |
ad6661e
to1edcaa1
Compare
Should be good, it now checks if last line is an empty message without formatting, also added a test case for your use case |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Tested locally
Uh oh!
There was an error while loading.Please reload this page.
c85392c
to2a3c28c
CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
2a3c28c
to68b4c1b
CompareUh oh!
There was an error while loading.Please reload this page.
68b4c1b
to3f9fa83
Compare3f9fa83
tocae2241
CompareThank you@joelwurtz. |
647dba0
intosymfony:6.4Uh oh!
There was an error while loading.Please reload this page.
This fix the progress bar making the output erase previous line when there is an EOL at the end of it