1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 00:53:06 +00:00

Fixed InitCommand::addVendorIgnore

This commit is contained in:
Grégoire Pineau 2013-01-02 10:55:34 +01:00
parent 1beccf9f0f
commit fcac93b3f1

View file

@ -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)) {