Skip to content

Commit

Permalink
Target ListenerBasedRequest in doc check instead
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed Dec 18, 2023
1 parent 54cfb8b commit 335cb86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby_lsp/check_docs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def run_task
# documented
features = ObjectSpace.each_object(Class).filter_map do |k|
klass = T.unsafe(k)
klass if klass < Requests::BaseRequest || klass < Listener
klass if klass < Requests::BaseRequest || klass < RubyLsp::Requests::ListenerBasedRequest
end

missing_docs = T.let(Hash.new { |h, k| h[k] = [] }, T::Hash[String, T::Array[String]])
Expand Down

0 comments on commit 335cb86

Please sign in to comment.