[Groonga-commit] droonga/droonga-engine at af4c37a [master] Remove whitespaces from default value

Back to archive index

SHIMODA Piro Hiroshi null+****@clear*****
Mon Oct 6 12:38:06 JST 2014


SHIMODA "Piro" Hiroshi	2014-10-06 12:38:06 +0900 (Mon, 06 Oct 2014)

  New Revision: af4c37a6bba15232557082f79561235a1fc81625
  https://github.com/droonga/droonga-engine/commit/af4c37a6bba15232557082f79561235a1fc81625

  Message:
    Remove whitespaces from default value

  Modified files:
    bin/droonga-engine-configure

  Modified: bin/droonga-engine-configure (+1 -1)
===================================================================
--- bin/droonga-engine-configure    2014-10-03 17:04:36 +0900 (f72a94e)
+++ bin/droonga-engine-configure    2014-10-06 12:38:06 +0900 (53a3aed)
@@ -60,7 +60,7 @@ def input(message, default_value=nil)
   print "#{message} [#{default_value}]: "
   response = gets.strip
   if response.empty?
-    default_value
+    default_value.strip
   else
     response
   end
-------------- next part --------------
HTML����������������������������...
Télécharger 



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