]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Update `ArcanistCoffeeLintLinter` to be compatible with CoffeeLint v1.4.0.
authorJoshua Spence <josh@joshuaspence.com>
Sun, 18 May 2014 13:07:35 +0000 (06:07 -0700)
committerepriestley <git@epriestley.com>
Sun, 18 May 2014 13:07:35 +0000 (06:07 -0700)
Summary: CoffeeLint v1.4.0 deprecated the `--checkstyle` flag in favor of `--reporter=checkstyle`.

Test Plan: `arc unit`

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

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

src/lint/linter/ArcanistCoffeeLintLinter.php

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