]> khamidou — GitHub mirrors - arcanist.git/commit
Always return an array from ArcanistWorkflow->loadProjectRepository()
authorepriestley <git@epriestley.com>
Thu, 28 May 2015 23:10:59 +0000 (16:10 -0700)
committerepriestley <git@epriestley.com>
Thu, 28 May 2015 23:10:59 +0000 (16:10 -0700)
commitcdaa0e32e4735b6f254945eeb19522ee37dd6b0d
tree1b3526b592bbf74b18271c1f4d30a4bbb9fd11a9
parent8fe013b0ecb58bd38213f13064bcc918416b8d4d
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
src/workflow/ArcanistWorkflow.php