Skip to content

Commit

Permalink
Merge pull request #1624 from p0deje/patch-1
Browse files Browse the repository at this point in the history
Allow to use RBS in symlinked tree
  • Loading branch information
pocke authored Nov 20, 2023
2 parents 81c601e + 5dcbee8 commit 3d6c825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rbs/collection/config/lockfile_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def generate
private def validate_gemfile_lock_path!(lock:, gemfile_lock_path:)
return unless lock
return unless lock.gemfile_lock_fullpath
unless lock.gemfile_lock_fullpath == gemfile_lock_path
unless File.realpath(lock.gemfile_lock_fullpath) == File.realpath(gemfile_lock_path)
raise GemfileLockMismatchError.new(expected: lock.gemfile_lock_fullpath, actual: gemfile_lock_path)
end
end
Expand Down

0 comments on commit 3d6c825

Please sign in to comment.