You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by br...@apache.org on 2013/10/10 22:59:07 UTC

git commit: Correctly tell plugman which object in config to remove

Updated Branches:
  refs/heads/master 399f63d26 -> d4a9e8930


Correctly tell plugman which object in config to remove


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

Branch: refs/heads/master
Commit: d4a9e89302f78a4377ddb00c80258e1edd965ccc
Parents: 399f63d
Author: mbillau <mi...@gmail.com>
Authored: Thu Oct 10 15:49:34 2013 -0400
Committer: Braden Shepherdson <br...@gmail.com>
Committed: Thu Oct 10 16:58:42 2013 -0400

----------------------------------------------------------------------
 src/uninstall.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/d4a9e893/src/uninstall.js
----------------------------------------------------------------------
diff --git a/src/uninstall.js b/src/uninstall.js
index 335c3ac..0fad5cc 100644
--- a/src/uninstall.js
+++ b/src/uninstall.js
@@ -105,7 +105,7 @@ function runUninstall(actions, platform, project_dir, plugin_dir, plugins_dir, o
                 var opts = {
                     www_dir: options.www_dir,
                     cli_variables: options.cli_variables,
-                    is_top_level: false /* TODO: should this "is_top_level" param be false for dependents? */
+                    is_top_level: tlps.indexOf(dangler) > -1
                 };
                 return runUninstall(actions, platform, project_dir, dependent_path, plugins_dir, opts);
             })