extend/os/mac/diagnostic: fix unqualified macOS version reference

Currently, this says something like

    Ruby version 2.6.8 is unsupported on 12.

which is a little cryptic. Let's change that to say

    Ruby version 2.6.8 is unsupported on macOS 12.
This commit is contained in:
Carlo Cabrera 2021-10-21 20:06:34 +08:00
parent ca7b28c8ed
commit b0939478d1
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -212,7 +212,7 @@ module Homebrew
return if Homebrew::EnvConfig.developer? && OS::Mac.version.prerelease?
<<~EOS
Ruby version #{RUBY_VERSION} is unsupported on #{MacOS.version}. Homebrew
Ruby version #{RUBY_VERSION} is unsupported on macOS #{MacOS.version}. Homebrew
is developed and tested on Ruby #{required_version}, and may not work correctly
on other Rubies. Patches are accepted as long as they don't cause breakage
on supported Rubies.