Explorar o código

Make installer type case insensitive

Jordi Boggiano %!s(int64=13) %!d(string=hai) anos
pai
achega
8aaac35ca1
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/Composer/Installer/InstallationManager.php

+ 2 - 0
src/Composer/Installer/InstallationManager.php

@@ -51,6 +51,8 @@ class InstallationManager
      */
     public function getInstaller($type)
     {
+        $type = strtolower($type);
+
         if (isset($this->cache[$type])) {
             return $this->cache[$type];
         }