Tim Barham created CB-9659:
------------------------------

             Summary: Options not passed through to platform commands
                 Key: CB-9659
                 URL: https://issues.apache.org/jira/browse/CB-9659
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaLib
            Reporter: Tim Barham
            Assignee: Vladimir Kotikov


With the new Platform API, options are not being passed through to platform 
commands. For example, try this:

{{cordova run browser --target=ie}}

Notice that it still gets opened in Chrome, not IE. 

Looking at [PlatformApiPoly 
getBuildArgs()|https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/platforms/PlatformApiPoly.js#L514],
 it assumes {{options}} is an object with properties like {{target}}, where-as 
I'm seeing an array with values like {{'--target=ie'}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to