Reformat plugin warning slightly, fixes #10381

main
Jordi Boggiano 2 years ago
parent 70425900e9
commit 4168ee9b69
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

@ -704,7 +704,7 @@ class PluginManager
$this->io->writeError('<warning>'.$package.($isGlobalPlugin ? ' (installed globally)' : '').' contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins</warning>');
while (true) {
switch ($answer = $this->io->ask('<warning>Do you trust "'.$package.'" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?]</warning> ', '?')) {
switch ($answer = $this->io->ask('Do you trust "<info>'.$package.'</info>" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [<comment>y,n,d,?</comment>] ', '?')) {
case 'y':
case 'n':
case 'd':

Loading…
Cancel
Save