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 20
20
21
21
public final class UctModuleLocatorUtil {
22
22
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" ;
24
26
private static final String UCT_EXECUTABLE_RELATIVE_PATH = "bin" + File .separator + "uct" ;
25
27
26
28
private UctModuleLocatorUtil () {
@@ -140,9 +142,9 @@ private UctModuleLocatorUtil() {
140
142
if (composerFile == null ) {
141
143
continue ;
142
144
}
143
- final boolean isUctModule = composerFile .getText ().contains (UCT_COMPOSER_NAME );
144
145
145
- if (isUctModule ) {
146
+ if (composerFile .getText ().contains (UCT_COMPOSER_NAME )
147
+ || composerFile .getText ().contains (UCT_COMPOSER_ALTERNATIVE_NAME )) {
146
148
return subDir ;
147
149
}
148
150
}
You can’t perform that action at this time.
0 commit comments