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/15 23:58:00 UTC

git commit: typo in callback

Updated Branches:
  refs/heads/plugman-registry d10834690 -> 332dc21cd


typo in callback


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/332dc21c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/332dc21c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/332dc21c

Branch: refs/heads/plugman-registry
Commit: 332dc21cd93999ae76fc700b3dcd9e0ea7f7ab9e
Parents: d108346
Author: Anis Kadri <an...@apache.org>
Authored: Mon Jul 15 14:57:56 2013 -0700
Committer: Anis Kadri <an...@apache.org>
Committed: Mon Jul 15 14:57:56 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/332dc21c/src/search.js
----------------------------------------------------------------------
diff --git a/src/search.js b/src/search.js
index d70db06..31b1094 100644
--- a/src/search.js
+++ b/src/search.js
@@ -6,7 +6,7 @@ module.exports = function(search_opts, callback) {
     registry.search(search_opts, function(err, plugins) {
         if(callback) {
             if(err) return callback(err);
-            callback(plugins);
+            callback(null, plugins);
         } else {
           if(err) return console.log(err);
           for(var plugin in plugins) {