Skip to content

Commit

Permalink
Missing YAML pin
Browse files Browse the repository at this point in the history
  • Loading branch information
castwide committed Jan 15, 2025
1 parent e56950e commit 7d4f4a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/solargraph/rbs_map/stdlib_map.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ def initialize library
pins.replace cache
else
super
if library == 'yaml'
pins.push Solargraph::Pin::Constant.new(name: 'YAML', comments: '@return [Module<Psych>]', closure: Pin::ROOT_PIN)
end
Cache.save('stdlib', "#{library}.ser", pins)
end
end
Expand Down

0 comments on commit 7d4f4a3

Please sign in to comment.