mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
Merge branch '2.4'
This commit is contained in:
commit
96e88cf84d
5 changed files with 41 additions and 8 deletions
|
@ -288,6 +288,7 @@ class Application extends BaseApplication
|
|||
}
|
||||
|
||||
if ($isNonAllowedRoot && !$io->isInteractive()) {
|
||||
$io->writeError('<error>Composer plugins have been disabled for safety in this non-interactive session. Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.</error>');
|
||||
$this->disablePluginsByDefault = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue