Skip to content
Snippets Groups Projects
Unverified Commit cc01d3f5 authored by Xu Cheng's avatar Xu Cheng
Browse files

doctor: fix undefined method `include?' for nil:NilClass

parent ca005cb8
No related branches found
No related tags found
No related merge requests found
......@@ -314,6 +314,7 @@ module Homebrew
end
def check_for_beta_xquartz
return unless MacOS::XQuartz.version
return unless MacOS::XQuartz.version.include? "beta"
<<-EOS.undent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment