fixing issue with fetch
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/97ea291c Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/97ea291c Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/97ea291c Branch: refs/heads/master Commit: 97ea291c4de24815bc0df798f171b98cd81d5c50 Parents: 53bc4ae Author: Anis Kadri <[email protected]> Authored: Mon Jun 17 16:15:43 2013 -0700 Committer: Anis Kadri <[email protected]> Committed: Thu Jul 11 13:54:18 2013 -0700 ---------------------------------------------------------------------- src/fetch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/97ea291c/src/fetch.js ---------------------------------------------------------------------- diff --git a/src/fetch.js b/src/fetch.js index 71f8785..c86c76d 100644 --- a/src/fetch.js +++ b/src/fetch.js @@ -81,7 +81,7 @@ type: 'local', if(!fs.existsSync(plugin_dir)) { registry.use(null, function() { - registry.fetch(plugin_dir, function(err, plugin_dir) { + registry.fetch([plugin_dir], function(err, plugin_dir) { movePlugin(plugin_dir, false); }); })
