From fcac93b3f148f1d64e114cff671e10ec3eca450d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Pineau?= Date: Wed, 2 Jan 2013 10:55:34 +0100 Subject: [PATCH] Fixed InitCommand::addVendorIgnore --- src/Composer/Command/InitCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/InitCommand.php b/src/Composer/Command/InitCommand.php index 2a7132fa5..994817727 100644 --- a/src/Composer/Command/InitCommand.php +++ b/src/Composer/Command/InitCommand.php @@ -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)) {