Broken validation of positional arguments. #2375
Labels
bug
Something isn't working
good first issue
Good for newcomers
priority-medium
Not functioning - next quarter if capacity permits
severity-medium
Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.
Describe the bug
Typo in the syntax validation code that is used to validate positional argument regex.
The validation never fails.
See the following code:
https://github.com/zowe/zowe-cli/blob/master/packages/imperative/src/cmd/src/syntax/SyntaxValidator.ts#L228-L229
The parenthesis enclosing the
match
method call is in the incorrect location.Incorrect code:
Correct code:
The text was updated successfully, but these errors were encountered: