mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 16:22:42 +01:00
Always return an array from ArcanistWorkflow->loadProjectRepository()
Summary: Fixes T8344. Prior to D12971, this always returned `array()`. It may now sometimes return `null`. Switch the behavior to be more similar to the old behavior. Test Plan: Inspection. Reviewers: btrahan, joshuaspence Reviewed By: joshuaspence Subscribers: epriestley Maniphest Tasks: T8344 Differential Revision: https://secure.phabricator.com/D13061
This commit is contained in:
parent
8fe013b0ec
commit
cdaa0e32e4
1 changed files with 1 additions and 1 deletions
|
@ -1558,7 +1558,7 @@ abstract class ArcanistWorkflow extends Phobject {
|
|||
|
||||
final protected function loadProjectRepository() {
|
||||
list($info, $reasons) = $this->loadRepositoryInformation();
|
||||
return $info;
|
||||
return coalesce($info, array());
|
||||
}
|
||||
|
||||
final protected function newInteractiveEditor($text) {
|
||||
|
|
Loading…
Reference in a new issue