You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Tim Barham (JIRA)" <ji...@apache.org> on 2015/09/16 01:06:46 UTC
[jira] [Commented] (CB-9659) Options not passed through to platform
commands
[ https://issues.apache.org/jira/browse/CB-9659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14746452#comment-14746452 ]
Tim Barham commented on CB-9659:
--------------------------------
Forget it - my bad. My cli repo wasn't up-to-date.
> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org