cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [35/50] git commit: typo in callback
Date Sun, 28 Jul 2013 00:55:57 GMT
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/master
Commit: 332dc21cd93999ae76fc700b3dcd9e0ea7f7ab9e
Parents: d108346
Author: Anis Kadri <anis@apache.org>
Authored: Mon Jul 15 14:57:56 2013 -0700
Committer: Anis Kadri <anis@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) {


Mime
View raw message