mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Exit with the syncing status [ci skip]
This commit is contained in:
parent
3695d94b25
commit
defdfa020a
1 changed files with 4 additions and 2 deletions
|
@ -468,7 +468,9 @@ def sync_default_gems_with_commits(gem, ranges, edit: nil)
|
|||
unless failed_commits.empty?
|
||||
puts "---- failed commits ----"
|
||||
puts failed_commits
|
||||
return false
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
||||
def sync_lib(repo, upstream = nil)
|
||||
|
@ -577,9 +579,9 @@ else
|
|||
end
|
||||
gem = ARGV.shift
|
||||
if ARGV[0]
|
||||
sync_default_gems_with_commits(gem, ARGV, edit: edit)
|
||||
exit sync_default_gems_with_commits(gem, ARGV, edit: edit)
|
||||
elsif auto
|
||||
sync_default_gems_with_commits(gem, true, edit: edit)
|
||||
exit sync_default_gems_with_commits(gem, true, edit: edit)
|
||||
else
|
||||
sync_default_gems(gem)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue