cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject [16/16] git commit: no longer need to call plugman.remove, this is handled by uninstall.
Date Mon, 03 Jun 2013 22:08:16 GMT
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/e28f572c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/e28f572c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/e28f572c

Branch: refs/heads/2.8.x
Commit: e28f572c4a9dba1e307be30fff2683a36c8112aa
Parents: 0638e7c
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 15:07:32 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/e28f572c/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