From dc3446767b742eef88aa7e2cb4a0413b8776c7f3 Mon Sep 17 00:00:00 2001 From: Serhii Akulov Date: Tue, 20 Apr 2021 16:02:40 +0300 Subject: [PATCH] Fixed the bug of creating a subdirectory --- .../generation/dialog/validator/rule/PhpDirectoryRule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/magento/idea/magento2plugin/actions/generation/dialog/validator/rule/PhpDirectoryRule.java b/src/com/magento/idea/magento2plugin/actions/generation/dialog/validator/rule/PhpDirectoryRule.java index 8e161b5a6..562a51005 100644 --- a/src/com/magento/idea/magento2plugin/actions/generation/dialog/validator/rule/PhpDirectoryRule.java +++ b/src/com/magento/idea/magento2plugin/actions/generation/dialog/validator/rule/PhpDirectoryRule.java @@ -15,7 +15,7 @@ public class PhpDirectoryRule implements ValidationRule { @Override public boolean check(final @NotNull String value) { - return value.matches(RegExUtil.Magento.PHP_CLASS); + return value.matches(RegExUtil.DIRECTORY); } public static ValidationRule getInstance() {