mirror of
https://github.com/composer/composer
synced 2025-05-09 08:32:56 +00:00
Output tweak
This commit is contained in:
parent
c3efff91f8
commit
133447cf51
1 changed files with 2 additions and 1 deletions
|
@ -293,7 +293,8 @@ class Application extends BaseApplication
|
|||
}
|
||||
|
||||
if (!$this->disablePluginsByDefault && $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>');
|
||||
$io->writeError('<error>Composer plugins have been disabled for safety in this non-interactive session.</error>');
|
||||
$io->writeError('<error>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