Skip to content

Commit 6bf795d

Browse files
committed
Fixed the bug of creating a subdirectory
1 parent c60e5db commit 6bf795d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/magento/idea/magento2plugin/actions/generation/dialog/validator/rule/PhpDirectoryRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class PhpDirectoryRule implements ValidationRule {
1313

1414
@Override
1515
public boolean check(final String value) {
16-
return value.matches(RegExUtil.Magento.PHP_CLASS);
16+
return value.matches(RegExUtil.DIRECTORY);
1717
}
1818

1919
public static ValidationRule getInstance() {

0 commit comments

Comments
 (0)