Skip to content

Commit

Permalink
Fall back to environment editor if not set in console config (#3483)
Browse files Browse the repository at this point in the history
  • Loading branch information
gapple authored and jmolivas committed Aug 31, 2017
1 parent dff900c commit c0b077c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/Config/EditCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ protected function getYamlConfig($config_name)
protected function getEditor()
{
$config = $this->configurationManager->getConfiguration();
$editor = $config->get('application.editor', 'vi');
$editor = $config->get('application.editor', '');

if ($editor != '') {
return trim($editor);
Expand Down

0 comments on commit c0b077c

Please sign in to comment.