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 2013/07/11 22:29:23 UTC

[16/22] git commit: fixing issue with fetch

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/5ec29247
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/5ec29247
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/5ec29247

Branch: refs/heads/plugman-registry
Commit: 5ec29247881cbaecc3ab787dc61260b1ead3d43a
Parents: 671283e
Author: Anis Kadri <an...@apache.org>
Authored: Mon Jun 17 16:15:43 2013 -0700
Committer: Anis Kadri <an...@apache.org>
Committed: Thu Jul 11 13:12:38 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/5ec29247/src/fetch.js
----------------------------------------------------------------------
diff --git a/src/fetch.js b/src/fetch.js
index 0589fb5..c8cd653 100644
--- a/src/fetch.js
+++ b/src/fetch.js
@@ -75,7 +75,7 @@ module.exports = function fetchPlugin(plugin_dir, plugins_dir, options, callback
         
         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);
             });
           })