1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-10 00:42:40 +01:00

Disable the customization of linter severities for ArcanistCommitLinter

Summary: The expectation is that this linter only raises errors.

Test Plan: This is mostly theoretical.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11331
This commit is contained in:
Joshua Spence 2015-01-12 07:24:53 +11:00
parent b780ef0868
commit 3152db6cce

View file

@ -30,6 +30,10 @@ final class ArcanistCommitLinter extends ArcanistLinter {
);
}
protected function canCustomizeLintSeverities() {
return false;
}
public function lintPath($path) {
if ($this->getEngine()->getCommitHookMode()) {
$this->lintNoCommit($path);