1
0
mirror of https://github.com/github/gitignore synced 2024-11-25 13:14:21 +01:00

Incorrect Dir Path

When generating the ignore rules for Composer, an incorrect format is used. The vendor directory added is written `vendor/`, which causes other `vendors` directories to be ignored. The correct format to use is `/vendor/`, which would only ignore the root `vendor` directory.
This commit is contained in:
Julien Liabeuf 2015-11-30 11:03:09 +07:00
parent 1451768498
commit 5bb4e85357

View File

@ -1,5 +1,5 @@
composer.phar
vendor/
/vendor/
# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file