Skip to content

Commit 64eb602

Browse files
committed
[BUGFIX] Show allowed failures as warning instead of error
1 parent c3ff3a0 commit 64eb602

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Composer/InstallerScript/ConsoleCommand.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ public function run(Event $event): bool
8585
if (!$this->allowFailure) {
8686
throw $e;
8787
}
88-
if (!$this->allowFailure || $io->getOutput()->isVerbose()) {
88+
if ($io->getOutput()->isVerbose()) {
8989
(new ExceptionRenderer())->render($e, $io->getOutput());
9090
} else {
9191
$messages[] = sprintf(
92-
'<error>Executing TYPO3 Console command "%s" failed.</error>',
92+
'<warning>Executing TYPO3 Console command "%s" failed.</warning>',
9393
$e->getCommand()
9494
);
9595
if (self::$verbosityHint) {

0 commit comments

Comments
 (0)