[TIMOB-13374] CLI: --no-colors flag is disregarded
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-04-05T19:01:33.000+0000 |
Affected Version/s | Release 3.1.0 |
Fix Version/s | Release 3.1.0, 2013 Sprint 07 JS, 2013 Sprint 07 |
Components | CLI |
Labels | qe-3.1.0, qe-closed-3.1.0, qe-testadded, regression |
Reporter | Eric Merriman |
Assignee | Chris Barber |
Created | 2013-04-04T20:32:19.000+0000 |
Updated | 2013-09-30T11:23:02.000+0000 |
Description
Description
We noticed an issue in studio with color codes in the console. After further investigation, this turns out to be a regression from 3.0.24 in the CLI. The --no-colors flag is not honored, so all activity is output in color. This presents a problem more so in Studio where the text includes codes for the colors and therefore looks "non-ideal". This is a CLI regression from 3.0.24Steps to reproduce:
1) Try any CLI command with the --no-color flag (I like to use "ti config --no-colors")Result:
Colors still present in the outputExpected result:
No colors in the outputAttachments
File | Date | Size |
---|---|---|
Screen Shot 2013-04-04 at 1.31.50 PM.png | 2013-04-04T20:32:19.000+0000 | 55096 |
Upgrading severity as I believe this affects Studio.
Titanium master pull request: https://github.com/appcelerator/titanium/pull/35 Titanium 3.1.x pull request: https://github.com/appcelerator/titanium/pull/36
Tested and verified fix with: Titanium Studio, build: 3.1.0.201304151600 SDK, build: 3.1.0.GA CLI 3.1.0 Command used "ti config --no-colors"