drush icon indicating copy to clipboard operation
drush copied to clipboard

drush locale:check ignores --no-ansi option

Open dhendriks opened this issue 1 year ago • 0 comments

Describe the bug If I run drush locale:check with the --no-ansi option, I still get colored output.

To Reproduce Run either of these:

  • drush locale:check --no-ansi
  • drush locale:check --no-ansi > tmp.txt 2>&1

Expected behavior No color on the console for the first. No color codes in the file for the second.

Actual behavior Color on the console for the first. Color codes in the file for the second.

Workaround Not sure.

System Configuration

Q A
Drush version? 12.4.3.0
Drupal version? 10.2.2
PHP version 8.2.13
OS? Linux

Additional information n/a

dhendriks avatar Jan 21 '24 08:01 dhendriks