1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-11 09:32:55 +00:00

Install/update now uses the new config variable 'prefer-source', fixes #553

This commit is contained in:
Miklós Márton 2013-03-04 20:29:14 +01:00
parent 0f8530ef56
commit 0d81ab7f46
2 changed files with 2 additions and 2 deletions

View file

@ -64,7 +64,7 @@ EOT
$install
->setDryRun($input->getOption('dry-run'))
->setVerbose($input->getOption('verbose'))
->setPreferSource($input->getOption('prefer-source'))
->setPreferSource($input->getOption('prefer-source') || $composer->getConfig()->get('prefer-source'))
->setPreferDist($input->getOption('prefer-dist'))
->setDevMode($input->getOption('dev'))
->setRunScripts(!$input->getOption('no-scripts'))