Github user omefire commented on the pull request:

    https://github.com/apache/cordova-lib/pull/166#issuecomment-74155732
  
    When the flag --save/autosave on, we should not be retrieving the version 
from config.xml.
    For example,
        - config.xml contains org.apache.cordova.device@0.2.9
        - running 'cordova plugin add org.apache.cordova.device --save' results 
in org.apache.cordova.device@0.2.9 being saved into config.xml instead of 
org.apache.cordova.device. (with no version).
    
    This means that the check on this line should be updated: 
https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/plugin.js#L124


---
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