[Groonga-commit] ranguba/chupa-text at 6b33af4 [master] Remove useless line

Back to archive index

Kenji Okimoto null+****@clear*****
Fri Apr 28 17:43:03 JST 2017


Kenji Okimoto	2017-04-28 17:43:03 +0900 (Fri, 28 Apr 2017)

  New Revision: 6b33af486c0e8a1495ebb50ddfada0ae5c35754a
  https://github.com/ranguba/chupa-text/commit/6b33af486c0e8a1495ebb50ddfada0ae5c35754a

  Merged 0d7d7e0: Merge pull request #3 from okkez/add-plain-text-formatter

  Message:
    Remove useless line

  Modified files:
    lib/chupa-text/command/chupa-text.rb

  Modified: lib/chupa-text/command/chupa-text.rb (+0 -1)
===================================================================
--- lib/chupa-text/command/chupa-text.rb    2017-04-28 16:49:19 +0900 (7fa82d9)
+++ lib/chupa-text/command/chupa-text.rb    2017-04-28 17:43:03 +0900 (9d7a1ca)
@@ -97,7 +97,6 @@ module ChupaText
                   "[#{AVAILABLE_FORMATS.join(', ')}]",
                   "(default: json)") do |format|
           format = format.to_sym
-          raise ArgumentError, "Unknown format: #{format}" unless AVAILABLE_FORMATS.include?(format)
           @format = format
         end
 
-------------- next part --------------
HTML����������������������������...
Download 



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