mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-02-27 14:09:10 +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() {
|
public static function getAliases() {
|
||||||
$config = self::readUserConfigurationFile();
|
$config = self::readUserConfigurationFile();
|
||||||
return idx($config, 'aliases');
|
return idx($config, 'aliases', array());
|
||||||
}
|
}
|
||||||
|
|
||||||
private function writeAliases(array $aliases) {
|
private function writeAliases(array $aliases) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue