Skip to content

Commit

Permalink
Only tell the user that you're uninstalling if it's not an error
Browse files Browse the repository at this point in the history
  • Loading branch information
arbesfeld committed Aug 20, 2014
1 parent fbc6d4c commit 6b4a833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/commands-cordova.js
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,6 @@ var ensureCordovaPlugins = function (localPath, options) {
// we have no plugins. It's necessary to loop because we might have
// dependencies between plugins.
var uninstallAllPlugins = function () {
process.stdout.write("Uninstalling all Cordova plugins...\n");
installedPlugins = getInstalledPlugins(cordovaPath);
while (_.size(installedPlugins)) {
_.each(_.keys(installedPlugins), function (name) {
Expand All @@ -408,6 +407,7 @@ var ensureCordovaPlugins = function (localPath, options) {
installedPlugins = getInstalledPlugins(cordovaPath);
}
};
process.stdout.write("Uninstalling all Cordova plugins...\n");
uninstallAllPlugins();

// Now install all of the plugins.
Expand Down

0 comments on commit 6b4a833

Please sign in to comment.