Browse Source

Fixed typo in exception message for Bitbucket config command.

Paul.Wenke 9 years ago
parent
commit
59ae2716aa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Command/ConfigCommand.php

+ 1 - 1
src/Composer/Command/ConfigCommand.php

@@ -494,7 +494,7 @@ EOT
         // handle bitbucket-oauth
         if (preg_match('/^(bitbucket-oauth)\.(.+)/', $settingKey, $matches)) {
             if (2 !== count($values)) {
-                throw new \RuntimeException('Excepted two arguments (consumer-key, consumer-secret), got '.count($values));
+                throw new \RuntimeException('Expected two arguments (consumer-key, consumer-secret), got '.count($values));
             }
             $this->configSource->removeConfigSetting($matches[1].'.'.$matches[2]);
             $this->authConfigSource->addConfigSetting($matches[1].'.'.$matches[2], array('consumer-key' => $values[0], 'consumer-secret' => $values[1]));