]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Update flags for `coffeelint`
authorJoshua Spence <josh@joshuaspence.com>
Sun, 4 Jan 2015 19:39:50 +0000 (06:39 +1100)
committerJoshua Spence <josh@joshuaspence.com>
Sun, 4 Jan 2015 19:39:50 +0000 (06:39 +1100)
Summary: According to `coffeelint --help` (with an up-to-date version of `coffeelint`, version 1.8.1) , `--nocolor` is deprecated in favor of `--color=never`. According to the [[http://www.coffeelint.org/#changelog | changelog]], `--nocolor` was deprecated in v1.6.0.

Test Plan: `arc lint`

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

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

src/lint/linter/ArcanistCoffeeLintLinter.php

index a5980909367935879fc0b44e8c13ea2a8ca5ef77..ffc73b91ad0c446ec9905e060cc7b31e3d096762 100644 (file)
@@ -60,7 +60,7 @@ final class ArcanistCoffeeLintLinter extends ArcanistExternalLinter {
   protected function getMandatoryFlags() {
     $options = array(
       '--reporter=checkstyle',
-      '--nocolor',
+      '--color=never',
       '--quiet',
     );