1
0
Fork 0

Only ask for gitignore if the current dir is a git repo, fixes composer/satis#44

pull/1410/head
Jordi Boggiano 2012-12-08 17:47:44 +01:00
parent 5b24a48827
commit e7f4768668
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ EOT
$file->write($options);
if ($input->isInteractive()) {
if ($input->isInteractive() && is_dir('.git')) {
$ignoreFile = realpath('.gitignore');
if (false === $ignoreFile) {