mirror of
https://github.com/getgrav/grav.git
synced 2025-10-26 07:56:07 +01:00
switch to 'install' by default and use composer.lock
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,5 +1,4 @@
|
||||
# Composer
|
||||
composer.lock
|
||||
.composer
|
||||
vendor/
|
||||
|
||||
|
||||
1012
composer.lock
generated
Normal file
1012
composer.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -68,7 +68,7 @@ class ComposerCommand extends Command
|
||||
{
|
||||
$this->setupConsole($input, $output);
|
||||
|
||||
$action = 'update';
|
||||
$action = $input->getOption('install') ? 'install' : ($input->getOption('update') ? 'update' : 'install');
|
||||
|
||||
if ($input->getOption('install')) {
|
||||
$action = 'install';
|
||||
|
||||
Reference in New Issue
Block a user