Skip to content

Commit

Permalink
Fix sync_default_gems.rb to use absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzhu2118 committed Jul 25, 2022
1 parent 43c11f6 commit 8fa6646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/sync_default_gems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8fa6646

Please sign in to comment.