Skip to content

Commit c66de3e

Browse files
Igor Melnikovvrann
authored andcommitted
MAGETWO-51592: Make single tenant compiler work when Magento not installed
Check if modules are installed instead of checking if Magento installed
1 parent f09eba4 commit c66de3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ private function checkEnvironment()
110110
$config = $this->deploymentConfig->get(ConfigOptionsListConstants::KEY_MODULES);
111111
if (!$config) {
112112
$messages[] = 'You cannot run this command because modules are not enabled. You can enable modules by'
113-
. ' running module:enable --all command.';
113+
. ' running \'module:enable --all\' command.';
114114
}
115115

116116
/**

0 commit comments

Comments
 (0)