mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 13:22:42 +01:00
Make WorkingCopy build step slightly more durable
Summary: Fixes T9631. Build steps created before I added this option may not have it specified, which could throw later. Make handling a little more robust. Test Plan: Will ask @yelirekim to report back. Reviewers: chad Reviewed By: chad Subscribers: yelirekim Maniphest Tasks: T9631 Differential Revision: https://secure.phabricator.com/D14336
This commit is contained in:
parent
2beeb2fab0
commit
43569d4e27
1 changed files with 3 additions and 0 deletions
|
@ -135,6 +135,9 @@ final class HarbormasterLeaseWorkingCopyBuildStepImplementation
|
|||
}
|
||||
|
||||
$also_phids = $build_target->getFieldValue('repositoryPHIDs');
|
||||
if (!is_array($also_phids)) {
|
||||
$also_phids = array();
|
||||
}
|
||||
|
||||
$all_phids = $also_phids;
|
||||
$all_phids[] = $repository_phid;
|
||||
|
|
Loading…
Reference in a new issue