diff options
author | aycabta <aycabta@gmail.com> | 2019-12-07 22:02:24 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2019-12-07 22:02:24 +0900 |
commit | be13b897ead62debd6d2e7696e5d28a8e8781620 (patch) | |
tree | cd61b8f5469f81b286c9cc842599bf4314711a5f | |
parent | 0ff84eda4e130ae17abccbb8aa92ad47e83d151d (diff) | |
download | ruby-be13b897ead62debd6d2e7696e5d28a8e8781620.tar.gz |
Show failed commits only when exists
-rw-r--r-- | tool/sync_default_gems.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 1c07073e2d..1b49f7a315 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) end end - puts "---- failed commits ----" - puts failed_commits + unless failed_commits.empty? + puts "---- failed commits ----" + puts failed_commits + end end def sync_lib(repo) |