cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-10465) cordova.raw.emulate fires a cordova.raw.prepare with incorrect arguments
Date Wed, 03 Feb 2016 14:31:40 GMT


ASF GitHub Bot commented on CB-10465:

Github user asfgit closed the pull request at:

> cordova.raw.emulate fires a cordova.raw.prepare with incorrect arguments
> ------------------------------------------------------------------------
>                 Key: CB-10465
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 5.4.1
>            Reporter: Manuel Martiarena
>            Assignee: Vladimir Kotikov
>              Labels: cordova-lib, reproduced, triaged
> All cordova.raw command now need to be called with arguments like this ticket expains:
> Unfortunately the raw emulate command executes the raw prepare with the wrong structure
of arguments, with the side effect that if you want to emulate only iOS, the other configured
projects will also be add/checked/prepared.
> emulate.js calls it like this: 
> return require('./cordova').raw.prepare(options.platforms);
line 36
> But the argument should be an object with a key named platforms. like so:
> return require('./cordova').raw.prepare({platforms: options.platforms}); 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message