[Groonga-commit] ranguba/packnga at af9c787 [master] Fix a bug that README is reset when README file doesn't exist

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Jul 13 19:26:59 JST 2014


Kouhei Sutou	2014-07-13 19:26:59 +0900 (Sun, 13 Jul 2014)

  New Revision: af9c78747156043b37898526aa7ba862e86f2986
  https://github.com/ranguba/packnga/commit/af9c78747156043b37898526aa7ba862e86f2986

  Message:
    Fix a bug that README is reset when README file doesn't exist

  Modified files:
    lib/packnga/document-task.rb

  Modified: lib/packnga/document-task.rb (+2 -0)
===================================================================
--- lib/packnga/document-task.rb    2013-08-29 17:32:11 +0900 (bd26d70)
+++ lib/packnga/document-task.rb    2014-07-13 19:26:59 +0900 (b73975e)
@@ -133,6 +133,8 @@ module Packnga
       readme =****@spec***** do |file|
         file.include?("README")
       end
+      return if readme.nil?
+
       @yard_task.readme = readme
       @reference_task.readme = readme
     end
-------------- next part --------------
HTML����������������������������...
Download 



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