Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13374] CLI: --no-colors flag is disregarded

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-04-05T19:01:33.000+0000
Affected Version/sRelease 3.1.0
Fix Version/sRelease 3.1.0, 2013 Sprint 07 JS, 2013 Sprint 07
ComponentsCLI
Labelsqe-3.1.0, qe-closed-3.1.0, qe-testadded, regression
ReporterEric Merriman
AssigneeChris Barber
Created2013-04-04T20:32:19.000+0000
Updated2013-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.24

Steps 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 output

Expected result:

No colors in the output

Attachments

FileDateSize
Screen Shot 2013-04-04 at 1.31.50 PM.png2013-04-04T20:32:19.000+000055096

Comments

  1. Ingo Muschenetz 2013-04-05

    Upgrading severity as I believe this affects Studio.
  2. Chris Barber 2013-04-05

    Titanium master pull request: https://github.com/appcelerator/titanium/pull/35 Titanium 3.1.x pull request: https://github.com/appcelerator/titanium/pull/36
  3. Olga Romero 2013-04-17

    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"

JSON Source