]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Don't explicitly pass `--color=never` to `coffeelint`
authorJoshua Spence <josh@joshuaspence.com>
Sun, 11 Jan 2015 19:48:24 +0000 (06:48 +1100)
committerJoshua Spence <josh@joshuaspence.com>
Sun, 11 Jan 2015 19:48:24 +0000 (06:48 +1100)
Summary: This flag doesn't do anything in combination with `--reporter=checkstyle`.

Test Plan:
```lang=bash
> coffeelint --reporter=checkstyle test.coffee
<?xml version="1.0" encoding="utf-8"?>
<checkstyle version="4.3">
<file name="test.coffee">
<error line="1"
    severity="error"
    message="Class names should be camel cased; context: class name: boaConstrictor"
    source="coffeelint"/>
</file>
</checkstyle>

> coffeelint --reporter=checkstyle --color=never test.coffee
<?xml version="1.0" encoding="utf-8"?>
<checkstyle version="4.3">
<file name="test.coffee">
<error line="1"
    severity="error"
    message="Class names should be camel cased; context: class name: boaConstrictor"
    source="coffeelint"/>
</file>
</checkstyle>
```

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11318

src/lint/linter/ArcanistCoffeeLintLinter.php

index 8d911b879c4d1f3507155ac71405c6d9e2030013..75521623742a98215ec66fbbb2ece4108d44903a 100644 (file)
@@ -62,7 +62,6 @@ final class ArcanistCoffeeLintLinter extends ArcanistExternalLinter {
   protected function getMandatoryFlags() {
     $options = array(
       '--reporter=checkstyle',
-      '--color=never',
     );
 
     if ($this->config) {