You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2016/02/09 14:37:18 UTC
[jira] [Updated] (CB-8835) platform already added returns none zero
[ https://issues.apache.org/jira/browse/CB-8835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Grebnov updated CB-8835:
-------------------------------
Labels: triaged (was: )
> platform already added returns none zero
> ----------------------------------------
>
> Key: CB-8835
> URL: https://issues.apache.org/jira/browse/CB-8835
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Reporter: Carlos Santana
> Labels: triaged
>
> Adding a plugin that is already installed it returns zero, none error
> $ cordova plugin add ../node_modules/cordova-plugin-console/
> Installing "org.apache.cordova.console" for ios
> $cordova plugin add ../node_modules/cordova-plugin-console/
> Plugin "org.apache.cordova.console" already installed on ios.
> $ echo $?
> 0
> But adding a platform that is already added it returns 1, error.
> I want for both plugin and platform to return zero and be consistent, for now.
> Later feature could be to do an automated upgrade if the plugin or platform to be added is higher version, then upgrade for platform and an upgrade (remove & add) for plugin (also giving the ability to have plugin update command).
> This takes more effort to implement as a lot of things need to be check if the upgrade will be succesful with all cascading dependencies between plugins and platforms and plugins.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org