diff --git a/lib/rbs/collection/sources/local.rb b/lib/rbs/collection/sources/local.rb index 1afde557d7..3d508b36bd 100644 --- a/lib/rbs/collection/sources/local.rb +++ b/lib/rbs/collection/sources/local.rb @@ -9,9 +9,8 @@ class Local attr_reader :path, :full_path def initialize(path:, base_directory:) - # TODO: resolve relative path from dir of rbs_collection.yaml @path = Pathname(path) - @full_path = base_directory / path + @full_path = (base_directory / path).expand_path end def has?(name, version)