-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zowe plugins validate
returns always RC=0
#1299
Comments
zowe plugins validate
returns allways RC=0zowe plugins validate
returns always RC=0
Since CLI version 6.33.0, the The |
The problem occurs when you install new plug-ins. Even if the validation of the plugin fails, it is considered a success. And then it fails later. Example:
There is a fine line between fixing bugs and breaking changes. Fixing a bug can be seen as a change in the expected behavior for someone else. In the case of the reported problem, it seems that fixing the bug is better - the script fails anyone and it is better to fail earlier. But I do not know all other cases. The |
The suggested fix here is to make @AmandaDErrico This issue could be a good one to pick up if you're looking for a CLI issue to work on 🙂 |
Need to test if this is already completed. |
Fix implemented in V1 (@zowe/[email protected]). The |
It is not possible to use the command
zowe plugins validate
to verify if the plugin is properly installed because the return code is always 0.Example:
$ zowe plugins validate @zowe/zos-ftp-for-zowe-cli
_____ Validation results for plugin '@zowe/zos-ftp-for-zowe-cli' _____
This plugin was successfully validated. Enjoy the plugin.
$ echo $?
0
$ zowe plugins validate @zowe/zos-ftp-for-zowe-clix
The specified plugin '@zowe/zos-ftp-for-zowe-clix' has not been installed into your CLI application.
$ echo $?
0
The text was updated successfully, but these errors were encountered: