mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 06:42:41 +01:00
Enable PhutilModuleLinter to recover more gracefully from broken modules.
Summary: Test Plan: Reviewers: CC:
This commit is contained in:
parent
4818892841
commit
746768e779
1 changed files with 4 additions and 0 deletions
|
@ -249,6 +249,8 @@ class ArcanistPhutilModuleLinter extends ArcanistLinter {
|
|||
$loaded = true;
|
||||
} catch (PhutilMissingSymbolException $ex) {
|
||||
$loaded = false;
|
||||
} catch (PhutilBootloaderException $ex) {
|
||||
$loaded = false;
|
||||
}
|
||||
if ($loaded) {
|
||||
$resolvable[] = $message;
|
||||
|
@ -290,6 +292,8 @@ class ArcanistPhutilModuleLinter extends ArcanistLinter {
|
|||
$loaded = true;
|
||||
} catch (PhutilMissingSymbolException $ex) {
|
||||
$loaded = false;
|
||||
} catch (PhutilBootloaderException $ex) {
|
||||
$loaded = false;
|
||||
}
|
||||
if ($loaded) {
|
||||
$resolvable[] = $message;
|
||||
|
|
Loading…
Reference in a new issue