Skip to content

Commit 3cae074

Browse files
Igor Melnikovvrann
authored andcommitted
MAGETWO-51592: Make single tenant compiler work when Magento not installed
Changing messages
1 parent da5b252 commit 3cae074

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

setup/src/Magento/Setup/Console/Command/AbstractModuleCommand.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,13 @@ protected function cleanup(InputInterface $input, OutputInterface $output)
8787
$output->writeln('<info>Generated classes cleared successfully. Please re-run Magento compile command</info>');
8888
if ($input->getOption(self::INPUT_KEY_CLEAR_STATIC_CONTENT)) {
8989
$cleanupFiles->clearMaterializedViewFiles();
90-
$output->writeln('<info>Generated static view files cleared successfully.</info>');
90+
$output->writeln('<info>Generated static view files cleared successfully. You should compile classes now '
91+
. 'using magento setup:di:compile.</info>');
9192
} else {
9293
$output->writeln(
93-
'<info>Info: Some modules might require static view files to be cleared. Use the optional --' .
94-
self::INPUT_KEY_CLEAR_STATIC_CONTENT . ' option to clear them.</info>'
94+
'<info>Info: Some modules might require static view files to be cleared. To do this, run magento '
95+
. 'module:enable with --' . self::INPUT_KEY_CLEAR_STATIC_CONTENT
96+
. ' option to clear them.</info>'
9597
);
9698
}
9799
}

0 commit comments

Comments
 (0)