Merge pull request #20544 from Homebrew/fix_manpages

manpages: fix type.
This commit is contained in:
Mike McQuaid 2025-08-22 13:47:17 +00:00 committed by GitHub
commit 7f57984eec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,7 @@ module Homebrew
File.write(TARGET_MAN_PATH/"brew.1", roff)
end
sig { params(quiet: T::Boolean).void }
sig { params(quiet: T::Boolean).returns(String) }
def self.build_man_page(quiet:)
template = (SOURCE_PATH/"brew.1.md.erb").read
readme = HOMEBREW_REPOSITORY/"README.md"