[
https://issues.apache.org/jira/browse/CB-11478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15403743#comment-15403743
]
ASF GitHub Bot commented on CB-11478:
-------------------------------------
Github user daserge commented on a diff in the pull request:
https://github.com/apache/cordova-windows/pull/190#discussion_r73132090
--- Diff: template/cordova/lib/run.js ---
@@ -39,7 +39,7 @@ module.exports.run = function (options) {
// parse arg
var args = nopt({
- 'archs': String,
+ 'archs': [String],
--- End diff --
Why do we need to change this to Array?
What will the command usage become with this change (could you please give
an example)?
Also does it make sense to also update the tests and the docs if we make
this change?
> Windows run vs build archs parsing inconsistency
> ------------------------------------------------
>
> Key: CB-11478
> URL: https://issues.apache.org/jira/browse/CB-11478
> Project: Apache Cordova
> Issue Type: Bug
> Components: Windows
> Affects Versions: 4.4.2
> Reporter: Sergey Shakhnazarov
> Assignee: Vladimir Kotikov
> Labels: found-by-ci, reproduced, triaged, windows
> Fix For: 4.4.3
>
>
> {{cordova build windows -- --arch=x86}}
> {{cordova build windows --arch=x86}}
> Both of this commands work properly but there is an inconsistency with
> cordova run:
> {{cordova run windows -- --arch=x86}} // this works OK
> {{cordova run windows --arch=x86}} // this uses anycpu pkg
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]