cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Brooks (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-6676) WP Platform Scripts Support Unknown Flags
Date Mon, 12 May 2014 22:52:15 GMT
Michael Brooks created CB-6676:
----------------------------------

             Summary: 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


*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)

Mime
View raw message