1
0
Fork 0
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:
epriestley 2011-01-26 17:46:17 -08:00
parent d933f20005
commit 777c69699b

View file

@ -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');