Fix sync_default_gems.rb to use absolute path

This commit is contained in:
Peter Zhu 2022-07-25 15:49:11 -04:00
Родитель 43c11f6c49
Коммит 8fa66467de
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -88,7 +88,7 @@ def sync_default_gems(gem)
repo = REPOSITORIES[gem.to_sym]
puts "Sync #{repo}"
upstream = File.join("..", "..", repo)
upstream = File.join(__dir__, "../..", repo)
case gem
when "rubygems"