aboutsummaryrefslogtreecommitdiffstats
path: root/Composer.gitignore
diff options
context:
space:
mode:
authorJulien Liabeuf <julien@liabeuf.fr>2015-11-30 11:03:09 +0700
committerJulien Liabeuf <julien@liabeuf.fr>2015-11-30 11:03:09 +0700
commit5bb4e85357cb42ceff26233f67c27368d405cda0 (patch)
tree08ce42407c23660a868e33d33c8bab90d0a2a4bf /Composer.gitignore
parent14517684988e614003bda11713380e563fb88793 (diff)
downloadgitignore-5bb4e85357cb42ceff26233f67c27368d405cda0.tar.gz
gitignore-5bb4e85357cb42ceff26233f67c27368d405cda0.zip
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.
Diffstat (limited to 'Composer.gitignore')
-rw-r--r--Composer.gitignore2
1 files changed, 1 insertions, 1 deletions
diff --git a/Composer.gitignore b/Composer.gitignore
index 3a693c92..c4222678 100644
--- a/Composer.gitignore
+++ b/Composer.gitignore
@@ -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