Skip to content

Commit 5bb4e85

Browse files
committed
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.
1 parent 1451768 commit 5bb4e85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Composer.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
composer.phar
2-
vendor/
2+
/vendor/
33

44
# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
55
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file

0 commit comments

Comments
 (0)