]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Fix ArcanistClosureLinter
authorVihang Mehta <vihang@trifacta.com>
Fri, 2 Oct 2015 12:45:48 +0000 (05:45 -0700)
committerepriestley <git@epriestley.com>
Fri, 2 Oct 2015 12:45:48 +0000 (05:45 -0700)
Summary: Fixes T9498

Test Plan: Run `arc lint` with errors that get caught and reported by `ArcanistClosureLinter`

Reviewers: joshuaspence, epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Maniphest Tasks: T9498

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

src/lint/linter/ArcanistClosureLinter.php

index 5cdf6259436a785723f98359388ff32a10384197..75eb151119d4ffa8e1f89fc5889e161f0f909f18 100644 (file)
@@ -50,6 +50,7 @@ final class ArcanistClosureLinter extends ArcanistExternalLinter {
       $message = id(new ArcanistLintMessage())
         ->setPath($path)
         ->setLine($matches[1])
+        ->setName('GJSLINT'.$matches[2])
         ->setSeverity(ArcanistLintSeverity::SEVERITY_ERROR)
         ->setCode($this->getLinterName().$matches[2])
         ->setDescription($matches[3]);