Merge pull request #14360 from dduugg/env-class

Fix remaining YARD exception, enable --fail-on-warning
This commit is contained in:
Mike McQuaid 2023-01-13 09:15:11 +00:00 committed by GitHub
commit ebd0d61dfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -64,4 +64,4 @@ jobs:
- name: Process rubydoc comments - name: Process rubydoc comments
working-directory: Library/Homebrew working-directory: Library/Homebrew
run: bundle exec yard doc --plugin sorbet --no-output #--fail-on-warning run: bundle exec yard doc --plugin sorbet --no-output --fail-on-warning

View File

@ -19,6 +19,10 @@ module Kernel
private :superenv? private :superenv?
end end
# @!parse
# # ENV is not actually a class, but this makes `YARD` happy
# # @see https://rubydoc.info/stdlib/core/ENV ENV core documentation
# class ENV; end
module EnvActivation module EnvActivation
extend T::Sig extend T::Sig