Skip to content

Commit ff1297c

Browse files
authored
Merge pull request #17945 from kingspride/develop
with --no-interactive, make composer non-interactive aswell
2 parents be4362c + 8af3cf4 commit ff1297c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

upgrade.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ function url_get_contents ($Url) {
6262
break;
6363
case '--no-interactive':
6464
$no_interactive = true;
65+
putenv("COMPOSER_NO_INTERACTION=1"); //put composer in non-interactive mode aswell
6566
break;
6667
default: // for legacy support from before we started using --branch
6768
$branch = $argv[$arg];
@@ -443,7 +444,8 @@ function url_get_contents ($Url) {
443444
echo $git_fetch;
444445
echo '-- '.$git_stash;
445446
echo '-- '.$git_checkout;
446-
echo '-- '.$git_pull."\n";
447+
echo '-- '.$git_pull;
448+
echo "\n";
447449
} else {
448450
echo "Git is NOT installed. You can still use this upgrade script to run common \n";
449451
echo "migration commands, but you will have to manually download the updated files. \n\n";

0 commit comments

Comments
 (0)