You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2016/01/21 07:48:28 UTC

cordova-windows git commit: CB-10381 fix the bug when removing a plugin with a tag

Repository: cordova-windows
Updated Branches:
  refs/heads/master 7652e14c3 -> d5079b99b


CB-10381 fix the bug when removing a plugin with a <frame> tag


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

Branch: refs/heads/master
Commit: d5079b99bdb0ab5fe7d75ed13853de762e0cf254
Parents: 7652e14
Author: Byoungro So <by...@intel.com>
Authored: Mon Jan 18 14:02:40 2016 -0800
Committer: Byoungro So <by...@intel.com>
Committed: Mon Jan 18 14:02:40 2016 -0800

----------------------------------------------------------------------
 template/cordova/lib/PluginHandler.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/d5079b99/template/cordova/lib/PluginHandler.js
----------------------------------------------------------------------
diff --git a/template/cordova/lib/PluginHandler.js b/template/cordova/lib/PluginHandler.js
index 43c4d03..98ea02a 100644
--- a/template/cordova/lib/PluginHandler.js
+++ b/template/cordova/lib/PluginHandler.js
@@ -89,7 +89,7 @@ var handlers = {
             var type = obj.type;
 
             if(type === 'projectReference') {
-                project.removeProjectReference(plugin.dir, getTargetConditions(obj));
+                project.removeProjectReference(path.join(plugin.dir, src), getTargetConditions(obj));
             }
             else {
                 var targetPath = path.join('plugins', plugin.id);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org