1
0
Fork 0

Clarify conditional

pull/1236/head
Jordi Boggiano 2012-10-19 13:42:35 +02:00
parent c2d9fa43eb
commit ba96f9f6b5
1 changed files with 4 additions and 4 deletions

View File

@ -194,11 +194,11 @@ EOT
$installer->run(); $installer->run();
if (!$keepVcs && ( if (!$keepVcs && $installedFromVcs
!$io->isInteractive() || && (
$io->askConfirmation('<info>Do you want to remove the exisitng VCS (.git, .svn..) history?</info> [<comment>Y,n</comment>]? ', true) !$io->isInteractive()
|| $io->askConfirmation('<info>Do you want to remove the exisitng VCS (.git, .svn..) history?</info> [<comment>Y,n</comment>]? ', true)
) )
&& (!$preferDist || $installedFromVcs)
) { ) {
$finder = new Finder(); $finder = new Finder();
$finder->depth(1)->directories()->in(getcwd())->ignoreVCS(false)->ignoreDotFiles(false); $finder->depth(1)->directories()->in(getcwd())->ignoreVCS(false)->ignoreDotFiles(false);