1
0
Fork 0

Remove typo

pull/4345/head
Jordi Boggiano 2015-08-10 01:05:32 +01:00
parent 33badac0a8
commit 4824b4504e
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ EOT
// passed in a file to use
$configFile = $input->getOption('global')
? ($this->config->get('home') . '/config.json')
: ($input->getOption('file') ?: trim(getenv('COMPOSER')) ?: 'composer.jsonw');
: ($input->getOption('file') ?: trim(getenv('COMPOSER')) ?: 'composer.json');
// create global composer.json if this was invoked using `composer global config`
if ($configFile === 'composer.json' && !file_exists($configFile) && realpath(getcwd()) === realpath($this->config->get('home'))) {