Closed mlegenhausen closed 9 years ago
This would allow to make tasks that can optionally add the platform if it does not exist
Isn't that what the platform add
command does? Where would the error come from in this case?
Cordova returns an error (status code 1) if the platform already exists. This is annoying when you have a task where you always want to make sure that a certain platform exists.
@mlegenhausen Any error from cordova returns status code 1, this means using the status code from cordova is useless, either is 0 or 1 for any error. I added the feature using other methods in 0.6.0 hope it is useful
Thanks will take a look :)
For some tasks like the
platform add
operation it would be nice to get a success even cordova returns an error. This would allow to make tasks that can optionally add the platform if it does not exists.