Explorar el Código

Fixed InitCommand::addVendorIgnore

Grégoire Pineau hace 12 años
padre
commit
fcac93b3f1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Composer/Command/InitCommand.php

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

@@ -451,7 +451,7 @@ EOT
         return $parser->parseNameVersionPairs($requirements);
     }
 
-    protected function addVendorIgnore($ignoreFile, $vendor = 'vendor')
+    protected function addVendorIgnore($ignoreFile, $vendor = '/vendor/')
     {
         $contents = "";
         if (file_exists($ignoreFile)) {