Skip to content

Commit 52f2f43

Browse files
authored
Merge pull request #335 from magento/fixed-module-generation-for-any-version
Fixed new module action
2 parents 248dc0b + dd7595b commit 52f2f43

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/com/magento/idea/magento2plugin/util/magento/MagentoVersionUtil.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ private static String getFilePath(final String magentoPath) {
8080
* the value {@code false} if the argument version1 is less than to version2.
8181
*/
8282
public static boolean compare(final String version1, final String version2) {
83+
if (version1.equals(DEFAULT_VERSION)) {
84+
return true;
85+
}
8386
if (version1.equals(version2)) {
8487
return true;
8588
}

0 commit comments

Comments
 (0)