mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 05:12:41 +01:00
Remove "commit hook mode" check from Javelin linter
Summary: Ref T7674. Commit hook mode is going away. Test Plan: Eyeball it. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T7674 Differential Revision: https://secure.phabricator.com/D12712
This commit is contained in:
parent
70c8649142
commit
e225998fce
1 changed files with 0 additions and 6 deletions
|
@ -138,12 +138,6 @@ final class PhabricatorJavelinLinter extends ArcanistLinter {
|
|||
}
|
||||
}
|
||||
|
||||
if ($this->getEngine()->getCommitHookMode()) {
|
||||
// Don't do the dependency checks in commit-hook mode because we won't
|
||||
// have an available working copy.
|
||||
return;
|
||||
}
|
||||
|
||||
$external_classes = array();
|
||||
foreach ($uses as $symbol => $line) {
|
||||
$parts = explode('.', $symbol);
|
||||
|
|
Loading…
Reference in a new issue