Github user TimBarham commented on the pull request:
https://github.com/apache/cordova-lib/pull/262#issuecomment-122245665
To clarify - the `name` is always the plugin name/id. The `spec` is either
a version, a version range, or a "location" (locar folder, tarball, git repo)
to get the plugin from. If `spec` is a version or range, then the name is
necessary and we fully identify the plugin as `<name>@<version>`. If `spec` is
a location, then the name is not necessary (since we will install whatever we
find at the specified location, regardless of the name), and we can fully
identify the plugin with just the location. So the existing code logic is
correct.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]