[Groonga-commit] groonga/gcs [master] List index fields correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Oct 15 17:56:15 JST 2012


YUKI Hiroshi	2012-10-15 17:56:15 +0900 (Mon, 15 Oct 2012)

  New Revision: 2170f7addb1049df0a5181c9ebe61ff15507246f
  https://github.com/groonga/gcs/commit/2170f7addb1049df0a5181c9ebe61ff15507246f

  Log:
    List index fields correctly

  Modified files:
    lib/command-line.js

  Modified: lib/command-line.js (+2 -2)
===================================================================
--- lib/command-line.js    2012-10-15 17:51:21 +0900 (c392248)
+++ lib/command-line.js    2012-10-15 17:56:15 +0900 (dc983bc)
@@ -189,8 +189,8 @@ CommandLineInterface.prototype = {
              .IndexFields
              .member;
         indexFields = !indexFields ? [] :
-                      !Array.isArray(indexFields.member) ? [indexFields.member] :
-                      indexFields.member;
+                      !Array.isArray(indexFields) ? [indexFields] :
+                      indexFields;
         callback(null, indexFields);
       }
     );
-------------- next part --------------
HTML����������������������������...
Download 



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