Skip to content

Commit dc34467

Browse files
committed
Fixed the bug of creating a subdirectory
1 parent d0780f2 commit dc34467

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
@@ -15,7 +15,7 @@ public class PhpDirectoryRule implements ValidationRule {
1515

1616
@Override
1717
public boolean check(final @NotNull String value) {
18-
return value.matches(RegExUtil.Magento.PHP_CLASS);
18+
return value.matches(RegExUtil.DIRECTORY);
1919
}
2020

2121
public static ValidationRule getInstance() {

0 commit comments

Comments
 (0)