[CB-11730] Change the expression of folder separator charactor This closes #484
Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/a170a465 Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/a170a465 Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/a170a465 Branch: refs/heads/master Commit: a170a465ec0a2dc4bbc98bfa47e03041521cf22e Parents: 92fd4ef Author: yseki <yasuharu.s...@jp.sony.com> Authored: Fri Oct 14 18:27:27 2016 +0900 Committer: Steve Gill <stevengil...@gmail.com> Committed: Mon Oct 17 17:33:27 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/a170a465/cordova-lib/src/plugman/fetch.js ---------------------------------------------------------------------- diff --git a/cordova-lib/src/plugman/fetch.js b/cordova-lib/src/plugman/fetch.js index 7f7a283..d33e460 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)+path.sep) === 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