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/28 02:55:38 UTC

[16/50] 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/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 <an...@apache.org>
Authored: Mon Jun 17 16:15:43 2013 -0700
Committer: Anis Kadri <an...@apache.org>
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);
             });
           })