Github user vladimir-kotikov commented on a diff in the pull request:

    https://github.com/apache/cordova-lib/pull/425#discussion_r59347954
  
    --- Diff: cordova-lib/src/plugman/install.js ---
    @@ -90,35 +90,37 @@ module.exports = function installPlugin(platform, 
project_dir, id, plugins_dir,
     // Returns a promise.
     function possiblyFetch(id, plugins_dir, options) {
         // Split @Version from the plugin id if it exists.
    -    var splitVersion = id.split('@');
    +    var splitVersion = cordovaUtil.parseRegistryPluginSpec(id);
    +    var extractedId = splitVersion[0] || id;
         //Check if a mapping exists for the plugin id
         //if it does, convert id to new name id
    -    var newId = pluginMapper.oldToNew[splitVersion[0]];
    +    var newId = pluginMapper.oldToNew[extractedId];
    --- End diff --
    
    As above, should we pass plugin id instead of scoped id to plugin mapper?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to