Skip to content
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

The switch --no-ansi have no effect #88

Open
LukeWCS opened this issue Mar 27, 2019 · 1 comment
Open

The switch --no-ansi have no effect #88

LukeWCS opened this issue Mar 27, 2019 · 1 comment

Comments

@LukeWCS
Copy link

LukeWCS commented Mar 27, 2019

This is no big thing, but I want to report it also.

If I understand this switch correctly, then it should supress the ANSI color codes. But with active --no-ansi switch, the output is still like this:

`←[37;41m ←[39;49m
←[37;41m Validation: FAILED ←[39;49m
←[37;41m Fatal: 15, Error: 0, Warning: 2, Notice: 0 ←[39;49m
←[37;41m ←[39;49m

←[32mTest results for extension:←[39m
←[33;1mWarning:←[39;22m←[33m Can't detect the file type for .editorconfig, handl
ing it as a binary file.←[39m
←[37;41;1mFatal error:←[39;49;22m←[37;41m Detected windows style newlines instea
d of UNIX newlines in \lukewcs\whowashere\acp\acp_whowashere_info.php←[39;49m
←[37;41;1mFatal error:←[39;49;22m←[37;41m Detected windows style newlines instea
d of UNIX newlines in \lukewcs\whowashere\acp\acp_whowashere_module.php←[39;49m
←[33;1mWarning:←[39;22m←[33m "GPL-2.0" is a deprecated SPDX license identifier,
use "GPL-2.0-only" instead. in \lukewcs\whowashere\composer.json←[39m` ....

I assume ←[32m as example is a ANSI color code?

The full EPV command line in this case is:

php src\EPV.php run --no-ansi --dir "g:\virtual\Users\Test\Documents\GitHub\lf-who-was-here\"

@jeffythedragonslayer
Copy link

I'm not sure why there's a left pointing arrow in there, but they do look vaguely like ANSI color codes yes.

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

No branches or pull requests

2 participants