You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2018/01/03 22:50:02 UTC

[jira] [Created] (CB-13729) Cordova platform add inconsistency between config.xml and package.json

jcesarmobile created CB-13729:
---------------------------------

             Summary: Cordova platform add inconsistency between config.xml and package.json
                 Key: CB-13729
                 URL: https://issues.apache.org/jira/browse/CB-13729
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-cli
    Affects Versions: cordova@8.0.0
            Reporter: jcesarmobile


I had save-prefix='^' for npm, but cordova platform add platformName was saved with ^ in package.json, but with ~ in config.xml

Both of them should use the save-prefix preference

cordova plugin add works as expected, it uses the same on both package.json and config.xml respecting the save-prefix preference



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org