[Groonga-commit] groonga/gcs [master] Fix typo

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Oct 15 16:49:59 JST 2012


YUKI Hiroshi	2012-10-15 16:49:59 +0900 (Mon, 15 Oct 2012)

  New Revision: 9ec76cc19361cb14eb3ab0ed66cd3b747c50efc2
  https://github.com/groonga/gcs/commit/9ec76cc19361cb14eb3ab0ed66cd3b747c50efc2

  Log:
    Fix typo

  Modified files:
    lib/command-line.js

  Modified: lib/command-line.js (+2 -1)
===================================================================
--- lib/command-line.js    2012-10-15 16:45:11 +0900 (2c64b04)
+++ lib/command-line.js    2012-10-15 16:49:59 +0900 (fe89595)
@@ -178,7 +178,8 @@ CommandLineInterface.prototype = {
              .DescribeIndexFieldsResponse
              .DescribeIndexFieldsResult
              .IndexFields;
-        callback(null, indexFields.members || []);
+        indexFields = Array.isArray(indexFields.members) ? indexFields.members : [];
+        callback(null, indexFields);
       }
     );
   },
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index