summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-12-07 22:02:24 +0900
committeraycabta <aycabta@gmail.com>2019-12-07 22:02:24 +0900
commitbe13b897ead62debd6d2e7696e5d28a8e8781620 (patch)
treecd61b8f5469f81b286c9cc842599bf4314711a5f
parent0ff84eda4e130ae17abccbb8aa92ad47e83d151d (diff)
Show failed commits only when exists
-rw-r--r--tool/sync_default_gems.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 1c07073e2d1..1b49f7a3154 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)