From b7c1bff51a38866061e1ece2d52128bd7769eaf3 Mon Sep 17 00:00:00 2001 From: Oskar Eichler <62393985+OskarEichler@users.noreply.github.com> Date: Sat, 29 Aug 2026 18:42:37 +0200 Subject: [PATCH] Resolve relative local collection sources --- lib/rbs/collection/sources/local.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)