[Groonga-commit] groonga/groonga at fd72825 [master] Reduce condition

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Wed Nov 4 16:39:28 JST 2015


Kouhei Sutou	2015-11-04 16:39:28 +0900 (Wed, 04 Nov 2015)

  New Revision: fd72825eea63eb77913496d591bdbdfcd9d20dd4
  https://github.com/groonga/groonga/commit/fd72825eea63eb77913496d591bdbdfcd9d20dd4

  Message:
    Reduce condition
    
    Because entry.header.typeflag is "" on AppVeyor... Why?

  Modified files:
    vendor/download_mecab.rb

  Modified: vendor/download_mecab.rb (+1 -1)
===================================================================
--- vendor/download_mecab.rb    2015-11-04 16:22:16 +0900 (95d92e9)
+++ vendor/download_mecab.rb    2015-11-04 16:39:28 +0900 (049a2e7)
@@ -23,7 +23,7 @@ def extract_tar_gz(tar_gz_path)
         p [entry.header.typeflag, entry.full_name] if @debug
         if entry.directory?
           FileUtils.mkdir_p(entry.full_name)
-        elsif entry.file?
+        else
           File.open(entry.full_name, "wb") do |file|
             file.print(entry.read)
           end
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index