File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/com/magento/idea/magento2uct/util/module Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 2020
2121public final class UctModuleLocatorUtil {
2222
23- private static final String UCT_COMPOSER_NAME = "magento\\ /upgrade-compatibility-tool" ;
23+ private static final String UCT_COMPOSER_NAME = "magento/upgrade-compatibility-tool" ;
24+ private static final String UCT_COMPOSER_ALTERNATIVE_NAME
25+ = "magento\\ /upgrade-compatibility-tool" ;
2426 private static final String UCT_EXECUTABLE_RELATIVE_PATH = "bin" + File .separator + "uct" ;
2527
2628 private UctModuleLocatorUtil () {
@@ -140,9 +142,9 @@ private UctModuleLocatorUtil() {
140142 if (composerFile == null ) {
141143 continue ;
142144 }
143- final boolean isUctModule = composerFile .getText ().contains (UCT_COMPOSER_NAME );
144145
145- if (isUctModule ) {
146+ if (composerFile .getText ().contains (UCT_COMPOSER_NAME )
147+ || composerFile .getText ().contains (UCT_COMPOSER_ALTERNATIVE_NAME )) {
146148 return subDir ;
147149 }
148150 }
You can’t perform that action at this time.
0 commit comments