@raphinesse I am OK with a link, but truthfully though CLI, I know that `if` 
condition is actually never reached. I was debating on deleting it but would 
rather have a refactor cleanup PR.

Though CLI, if a plugin is not provided, THIS is the actual `if` condition that 
is caught and throws a different reject message.

https://github.com/apache/cordova-lib/blob/ea181ad553d1d2c93a968f1455109b776b92f0fa/src/cordova/plugin/index.js#L62

We could update this condition instead, except it is also a generic message for 
both `add` and `rm`. It also does not support `remove`. Just more things being 
uncovered as I been looking at this originally.

[ Full content available at: https://github.com/apache/cordova-lib/pull/671 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to