Repository: cordova-lib Updated Branches: refs/heads/master 5c8b4cac0 -> a170a465e
[CB-11730] Modify condition of if clause to avoid similar project name with plugin name Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/92fd4efc Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/92fd4efc Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/92fd4efc Branch: refs/heads/master Commit: 92fd4efc5aecdbc836b5f6dd0c1b2d560a0579d1 Parents: 5c8b4ca Author: yseki <yasuharu.s...@jp.sony.com> Authored: Mon Aug 22 16:40:31 2016 +0900 Committer: Steve Gill <stevengil...@gmail.com> Committed: Mon Oct 17 17:33:26 2016 -0700 ---------------------------------------------------------------------- cordova-lib/src/plugman/fetch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/92fd4efc/cordova-lib/src/plugman/fetch.js ---------------------------------------------------------------------- diff --git a/cordova-lib/src/plugman/fetch.js b/cordova-lib/src/plugman/fetch.js index c39a998..7f7a283 100644 --- a/cordova-lib/src/plugman/fetch.js +++ b/cordova-lib/src/plugman/fetch.js @@ -330,7 +330,7 @@ function copyPlugin(pinfo, plugins_dir, link) { shell.rm('-rf', dest); - if(!link && dest.indexOf(path.resolve(plugin_dir)) === 0) { + if(!link && dest.indexOf(path.resolve(plugin_dir)+'\\') === 0) { if(/^win/.test(process.platform)) { /* --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org