mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-29 18:22:41 +01:00
Fix ArcanistClosureLinter
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
This commit is contained in:
parent
d3abb65572
commit
f0c57986bc
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ final class ArcanistClosureLinter extends ArcanistExternalLinter {
|
||||||
$message = id(new ArcanistLintMessage())
|
$message = id(new ArcanistLintMessage())
|
||||||
->setPath($path)
|
->setPath($path)
|
||||||
->setLine($matches[1])
|
->setLine($matches[1])
|
||||||
|
->setName('GJSLINT'.$matches[2])
|
||||||
->setSeverity(ArcanistLintSeverity::SEVERITY_ERROR)
|
->setSeverity(ArcanistLintSeverity::SEVERITY_ERROR)
|
||||||
->setCode($this->getLinterName().$matches[2])
|
->setCode($this->getLinterName().$matches[2])
|
||||||
->setDescription($matches[3]);
|
->setDescription($matches[3]);
|
||||||
|
|
Loading…
Reference in a new issue