8000 Use isDecorated for no-ansi detection by driesvints · Pull Request #203 · laravel/installer · GitHub
[go: up one dir, main page]

Skip to content

Use isDecorated for no-ansi detection #203

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 1, 2021
Merged

Use isDecorated for no-ansi detection #203

merged 1 commit into from
Jun 1, 2021

Conversation

driesvints
Copy link
Member
@driesvints driesvints commented Jun 1, 2021

This PR fixes the previous no-ansi breakage by making use of the isDecorated method on the Symfony output to make sure that no output is colorized when the no-ansi flag is passed.

See symfony/symfony#39642 (comment)

@driesvints driesvints changed the title Use isDecorated Use isDecorated for no-ansi detection Jun 1, 2021
@taylorotwell taylorotwell merged commit 8a7b8a2 into master Jun 1, 2021
@taylorotwell taylorotwell deleted the decorated branch June 1, 2021 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0