Browse Source

Fixed InitCommand::addVendorIgnore

Grégoire Pineau 12 years ago
parent
commit
fcac93b3f1
1 changed files with 1 additions and 1 deletions
  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)) {