Skip to content

Commit e527c60

Browse files
soutaroclaude
andcommitted
Add -r logger to validate task for rbs library
Because `logger` was removed from manifest.yaml, the validate task needs to explicitly load the logger library when validating rbs signatures, as sig/rbs.rbs references ::Logger. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 76cde72 commit e527c60

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ task :validate => :compile do
203203
args = ["-r", lib]
204204

205205
if lib == "rbs"
206-
args << "-r"
207-
args << "prism"
206+
args << "-r" << "prism"
207+
args << "-r" << "logger"
208208
end
209209

210210
sh "#{ruby} #{rbs} #{args.join(' ')} validate"

0 commit comments

Comments
 (0)