aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/os/mac/diagnostic.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb
index 86abfab87..65b8d7cde 100644
--- a/Library/Homebrew/extend/os/mac/diagnostic.rb
+++ b/Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -281,8 +281,8 @@ module Homebrew
return unless MacOS::XQuartz.outdated?
<<~EOS
- Your XQuartz (#{installed_version}) is outdated.
- Please install XQuartz #{latest_version} (or delete the current version).
+ Your XQuartz (#{MacOS::XQuartz.version}) is outdated.
+ Please install XQuartz #{MacOS::XQuartz.latest_version} (or delete the current version).
XQuartz can be updated using Homebrew-Cask by running
brew cask reinstall xquartz
EOS