summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)