mirror of
https://github.com/getgrav/grav.git
synced 2025-11-02 03:16:04 +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
|
||||||
composer.lock
|
|
||||||
.composer
|
.composer
|
||||||
vendor/
|
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);
|
$this->setupConsole($input, $output);
|
||||||
|
|
||||||
$action = 'update';
|
$action = $input->getOption('install') ? 'install' : ($input->getOption('update') ? 'update' : 'install');
|
||||||
|
|
||||||
if ($input->getOption('install')) {
|
if ($input->getOption('install')) {
|
||||||
$action = 'install';
|
$action = 'install';
|
||||||
|
|||||||
Reference in New Issue
Block a user