mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 16:22:42 +01:00
Fix arcanist shell completion
Summary: Fixes T8560. Test Plan: Ran `arc shell-complete` outside of a working copy. Reviewers: avivey, #blessed_reviewers, epriestley Reviewed By: avivey, #blessed_reviewers, epriestley Subscribers: avivey, epriestley, Korvin Maniphest Tasks: T8560 Differential Revision: https://secure.phabricator.com/D13338
This commit is contained in:
parent
3414cbeda5
commit
f06eea0d84
2 changed files with 5 additions and 2 deletions
|
@ -84,6 +84,9 @@ EOTEXT
|
|||
continue;
|
||||
}
|
||||
|
||||
$workflow->setArcanistConfiguration($this->getArcanistConfiguration());
|
||||
$workflow->setConfigurationManager($this->getConfigurationManager());
|
||||
|
||||
if ($vcs || $workflow->requiresWorkingCopy()) {
|
||||
$supported_vcs = $workflow->getSupportedRevisionControlSystems();
|
||||
if (!in_array($vcs, $supported_vcs)) {
|
||||
|
|
|
@ -53,8 +53,8 @@ abstract class ArcanistWorkflow extends Phobject {
|
|||
private $repositoryAPI;
|
||||
private $configurationManager;
|
||||
private $workingCopy;
|
||||
private $arguments;
|
||||
private $passedArguments;
|
||||
private $arguments = array();
|
||||
private $passedArguments = array();
|
||||
private $command;
|
||||
|
||||
private $stashed;
|
||||
|
|
Loading…
Reference in a new issue