You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Michael Brooks (JIRA)" <ji...@apache.org> on 2014/05/13 00:52:15 UTC
[jira] [Created] (CB-6676) WP Platform Scripts Support Unknown
Flags
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)