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/06/18 01:17:18 UTC

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

Branch: refs/heads/plugman-registry
Commit: bd155989926316b5d4b22e405b85070a2747ad7c
Parents: 221aa3d
Author: Anis Kadri <an...@apache.org>
Authored: Mon Jun 17 16:15:43 2013 -0700
Committer: Anis Kadri <an...@apache.org>
Committed: Mon Jun 17 16:15:43 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/bd155989/src/fetch.js
----------------------------------------------------------------------
diff --git a/src/fetch.js b/src/fetch.js
index 992e5af..08ba36a 100644
--- a/src/fetch.js
+++ b/src/fetch.js
@@ -74,7 +74,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);
             });
           })