[Groonga-commit] ranguba/chupa-text at 2123736 [master] Ignore empty environment value

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jul 12 15:10:48 JST 2017


Kouhei Sutou	2017-07-12 15:10:48 +0900 (Wed, 12 Jul 2017)

  New Revision: 2123736c65021f7fd2f7b31061c2f620d5a5fe37
  https://github.com/ranguba/chupa-text/commit/2123736c65021f7fd2f7b31061c2f620d5a5fe37

  Message:
    Ignore empty environment value

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

  Modified: lib/chupa-text/external-command.rb (+1 -0)
===================================================================
--- lib/chupa-text/external-command.rb    2017-07-12 14:46:42 +0900 (28e0869)
+++ lib/chupa-text/external-command.rb    2017-07-12 15:10:48 +0900 (d9977a0)
@@ -77,6 +77,7 @@ module ChupaText
           # For backward compatibility
           ENV["CHUPA_EXTERNAL_COMMAND_LIMIT_#{key.to_s.upcase}"]
         return if value.nil?
+        return if value.empty?
         value = send("parse_#{type}", key, value)
         return if value.nil?
         rlimit_number = Process.const_get("RLIMIT_#{key.to_s.upcase}")
-------------- next part --------------
HTML����������������������������...
Télécharger 



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