Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
6.0.0
-
None
-
Cordova@6.0.0, OS X or *nix machine
Description
Some platform-specific arguments (such as --gradleArg) is additionally quoted, when options passed to cordova.raw API using old format. Though this is not a problem on Windows, because the command processor on handles such arguments correctly, on OS X this leads to unexpected failures.
For example running
cordova.raw.build({ platforms: [android], options: ["--gradleArg=--no-daemon"] })
causes gradle build failure with following message Task '"--no-daemon"' not found in root project 'android'.