mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-29 10:12:41 +01:00
Enable shell completion without set aliases
Summary: Otherwise it says after hitting Tab everytime: > Warning: Invalid argument supplied for foreach() in arcanist/src/workflow/shell-complete/ArcanistShellCompleteWorkflow.php on line 99 Test Plan: arc h<Tab> Reviewers: epriestley Reviewed By: epriestley CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D1766
This commit is contained in:
parent
075c4f84d4
commit
50cedc67ff
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ EOTEXT
|
|||
|
||||
public static function getAliases() {
|
||||
$config = self::readUserConfigurationFile();
|
||||
return idx($config, 'aliases');
|
||||
return idx($config, 'aliases', array());
|
||||
}
|
||||
|
||||
private function writeAliases(array $aliases) {
|
||||
|
|
Loading…
Reference in a new issue