mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Use —no-dev flag in upgrade
This commit is contained in:
parent
afe6f43a1b
commit
0c02b6d24e
|
@ -106,7 +106,7 @@ echo "--------------------------------------------------------\n\n";
|
|||
if (file_exists('composer.phar')) {
|
||||
echo "-- Local composer.phar detected, so we'll use that.\n\n";
|
||||
$composer_dump = shell_exec('php composer.phar dump');
|
||||
$composer = shell_exec('php composer.phar install --prefer-source');
|
||||
$composer = shell_exec('php composer.phar install --no-dev --prefer-source');
|
||||
|
||||
} else {
|
||||
echo "-- We couldn't find a local composer.phar - trying globally.\n\n";
|
||||
|
|
Loading…
Reference in a new issue