mirror of
https://github.com/composer/composer
synced 2025-05-10 00:53:06 +00:00
Fixed InitCommand::addVendorIgnore
This commit is contained in:
parent
1beccf9f0f
commit
fcac93b3f1
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue