ruby-changes:59107
From: aycabta <ko1@a...>
Date: Sat, 7 Dec 2019 22:05:04 +0900 (JST)
Subject: [ruby-changes:59107] be13b897ea (master): Show failed commits only when exists
https://git.ruby-lang.org/ruby.git/commit/?id=be13b897ea From be13b897ead62debd6d2e7696e5d28a8e8781620 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Sat, 7 Dec 2019 22:02:24 +0900 Subject: Show failed commits only when exists diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 1c07073..1b49f7a 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -340,8 +340,10 @@ def sync_default_gems_with_commits(gem, range) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L340 end end - puts "---- failed commits ----" - puts failed_commits + unless failed_commits.empty? + puts "---- failed commits ----" + puts failed_commits + end end def sync_lib(repo) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/