You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Dan Imhoff (JIRA)" <ji...@apache.org> on 2018/01/31 19:42:00 UTC

[jira] [Created] (CB-13847) `cordova platform add` overwrites existing version specs with caret ranges

Dan Imhoff created CB-13847:
-------------------------------

             Summary: `cordova platform add` overwrites existing version specs with caret ranges
                 Key: CB-13847
                 URL: https://issues.apache.org/jira/browse/CB-13847
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-cli
    Affects Versions: cordova@7.0.0, cordova@8.0.0
         Environment: Tested on macOS, but the problem is likely cross-platform.
            Reporter: Dan Imhoff


In a project without `platforms/` and `plugins/`, and an existing `<engine name="foo" spec="...">` definition, `cordova platform add foo` ignores the engine version spec and the plugin version specs as well, overwriting the existing entry with a caret version range.

Original issue: https://github.com/ionic-team/ionic-cli/issues/2972



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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