cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject git commit: no longer need to call plugman.remove, this is handled by uninstall.
Date Mon, 03 Jun 2013 18:39:28 GMT
Updated Branches:
  refs/heads/master2 b626944d4 -> e0f5477c6


no longer need to call plugman.remove, this is handled by uninstall.


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/e0f5477c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/e0f5477c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/e0f5477c

Branch: refs/heads/master2
Commit: e0f5477c6a38ba748d7f1482ac2cd4d7bb36df27
Parents: b626944
Author: Fil Maj <maj.fil@gmail.com>
Authored: Mon Jun 3 11:39:22 2013 -0700
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Mon Jun 3 11:39:22 2013 -0700

----------------------------------------------------------------------
 src/plugin.js |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/e0f5477c/src/plugin.js
----------------------------------------------------------------------
diff --git a/src/plugin.js b/src/plugin.js
index 56a3dbd..cf894d5 100644
--- a/src/plugin.js
+++ b/src/plugin.js
@@ -124,9 +124,6 @@ module.exports = function plugin(command, targets, callback) {
                         plugman.uninstall(platform, platformRoot, target, path.join(projectRoot,
'plugins'), { www_dir: parser.staging_dir() });
                     });
 
-                    // Finally remove the plugin dir from plugins/
-                    plugman.remove(target, path.join(projectRoot, 'plugins'));
-
                     hooks.fire('after_plugin_rm');
                 } else {
                     throw new Error('Plugin "' + target + '" not added to project.');


Mime
View raw message