You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2014/05/14 02:45:17 UTC

[jira] [Resolved] (CB-6676) WP Platform Scripts Support Unknown Flags

     [ https://issues.apache.org/jira/browse/CB-6676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse MacFadyen resolved CB-6676.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.6.0

> WP Platform Scripts Support Unknown Flags
> -----------------------------------------
>
>                 Key: CB-6676
>                 URL: https://issues.apache.org/jira/browse/CB-6676
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7, WP8
>    Affects Versions: 3.4.0
>            Reporter: Michael Brooks
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>             Fix For: 3.6.0
>
>
> *Expected Result*
> A platform script should silently ignore unknown flags (parameters).
> For example, {{--custom-flag}}
> The reason is that Cordova CLI hooks can be used to enable custom flags.
> *Current Result*
> On WP, unknown flags [cause the script to exit with an error code|https://github.com/apache/cordova-wp8/blob/master/wp8/template/cordova/lib/deploy.js#L324-L326].
> On Android and iOS,the expected behaviour is matched.



--
This message was sent by Atlassian JIRA
(v6.2#6252)