[Groonga-commit] groonga/groonga-command at 274995f [fix-travis-ci-error] Remove needless check

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jan 13 17:18:36 JST 2016


Kouhei Sutou	2012-11-27 23:04:25 +0900 (Tue, 27 Nov 2012)

  New Revision: 274995f67b485b5fc59f3c42df3ad15b32cce12f
  https://github.com/groonga/groonga-command/commit/274995f67b485b5fc59f3c42df3ad15b32cce12f

  Message:
    Remove needless check

  Modified files:
    lib/groonga/command/parser.rb

  Modified: lib/groonga/command/parser.rb (+0 -3)
===================================================================
--- lib/groonga/command/parser.rb    2012-11-27 22:56:44 +0900 (312fe47)
+++ lib/groonga/command/parser.rb    2012-11-27 23:04:25 +0900 (bb33a45)
@@ -240,9 +240,6 @@ module Groonga
                 return
               end
             end
-            unless /\A\s*[\[\{]/ =~ json
-              raise ParseError, "garbage before value"
-            end
           end
           @buffer = rest
           parse_json(json)
-------------- next part --------------
HTML����������������������������...
Descargar 



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