Skip to content

Commit 6a1ab92

Browse files
committed
Change validation for the command description
1 parent a1dfac9 commit 6a1ab92

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,6 @@ public boolean validate(Project project, NewCLICommandDialog dialog) {
9595

9696
return false;
9797
}
98-
if (!cliCommandDescription.matches(RegExUtil.IDENTIFIER)) {
99-
String errorMessage = validatorBundle.message("validator.identifier", "CLI Command Description");
100-
JOptionPane.showMessageDialog(null, errorMessage, errorTitle, JOptionPane.ERROR_MESSAGE);
101-
102-
return false;
103-
}
10498

10599
return true;
106100
}

0 commit comments

Comments
 (0)