From 4824b4504eee9971a8e2e2015bf3d3d7c04fbb3d Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 10 Aug 2015 01:05:32 +0100 Subject: [PATCH] Remove typo --- src/Composer/Command/ConfigCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/ConfigCommand.php b/src/Composer/Command/ConfigCommand.php index d572f020c..5feb9f1cb 100644 --- a/src/Composer/Command/ConfigCommand.php +++ b/src/Composer/Command/ConfigCommand.php @@ -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'))) {