Skip to content

Commit 0104c25

Browse files
committed
MCP-966: Parallel Indexation for Catalog Permission[Stabilize PR]
1 parent 064fcee commit 0104c25

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/code/Magento/Indexer/Console/Command/IndexerShowDimensionsModeCommand.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,12 @@ protected function execute(InputInterface $input, OutputInterface $output)
9999
$output->writeln(sprintf('%-50s ', $indexer->getTitle() . ':') . $mode);
100100
}
101101
} catch (\Exception $e) {
102-
// @codingStandardsIgnoreStart
103-
if (!in_array($indexerId, $this->optionalIndexers)) {
102+
if (!in_array($indexerId, $this->optionalIndexers)) { /** @phpstan-ignore-line */
104103
$output->writeln('"' . $indexer->getTitle() . '" indexer process unknown error:' . PHP_EOL);
105104
$output->writeln($e->getMessage() . PHP_EOL);
106105
// we must have an exit code higher than zero to indicate something was wrong
107106
$returnValue = Cli::RETURN_FAILURE;
108107
}
109-
// @codingStandardsIgnoreEnd
110108
}
111109

112110
return $returnValue;

0 commit comments

Comments
 (0)