Skip to content

Commit fad45f4

Browse files
committed
MAGETWO-62400: Modules that use repositories in command line tools fail during setup:di:compile 2.1.x
- revert usage of class because di compile fails because this is not a class
1 parent 2429e3b commit fad45f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Deploy/cli_commands.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
*/
66

77
if (PHP_SAPI == 'cli') {
8-
\Magento\Framework\Console\CommandLocator::register(Magento\Deploy\Console\CommandList::class);
8+
\Magento\Framework\Console\CommandLocator::register('Magento\Deploy\Console\CommandList');
99
}

0 commit comments

Comments
 (0)