whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] 02/02: Need to skip empty trailer
Date Sat, 27 Feb 2021 17:17:20 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git

commit 9c620d43e154c2d81a1d67138f17b55312e6e335
Author: Sebb <sebb@apache.org>
AuthorDate: Sat Feb 27 17:17:10 2021 +0000

    Need to skip empty trailer
---
 lib/whimsy/asf/member-files.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/member-files.rb b/lib/whimsy/asf/member-files.rb
index 8c5270b..d5b60ba 100644
--- a/lib/whimsy/asf/member-files.rb
+++ b/lib/whimsy/asf/member-files.rb
@@ -51,7 +51,7 @@ module ASF
             end
           end
         end
-        yield header, nominee if header
+        yield header, nominee unless header.nil? || header.empty?
       end
     end
 


Mime
View raw message