1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 08:32:56 +00:00

Output tweak

This commit is contained in:
Jordi Boggiano 2024-03-04 14:01:23 +01:00
parent c3efff91f8
commit 133447cf51
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC

View file

@ -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;
}