mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 00:02:40 +01:00
Don't apply apache license lint rules if there is no copyright holder.
This commit is contained in:
parent
d933f20005
commit
777c69699b
1 changed files with 1 additions and 3 deletions
|
@ -43,9 +43,7 @@ class ArcanistApacheLicenseLinter extends ArcanistLinter {
|
|||
$copyright_holder = $working_copy->getConfig('copyright_holder');
|
||||
|
||||
if (!$copyright_holder) {
|
||||
throw new ArcanistUsageException(
|
||||
"This project uses the ArcanistApacheLicenseLinter, but does not ".
|
||||
"define a 'copyright_holder' in its .arcconfig.");
|
||||
return;
|
||||
}
|
||||
|
||||
$year = date('Y');
|
||||
|
|
Loading…
Reference in a new issue