From 0a1a529f842c792c64f17d59d967af976f374d8e Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 11 Jun 2024 09:33:27 +0000 Subject: [PATCH] docs: updates from Homebrew/brew --- docs/Homebrew/Diagnostic/Checks.html | 50 +++++++++++++++------------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/docs/Homebrew/Diagnostic/Checks.html b/docs/Homebrew/Diagnostic/Checks.html index e5822d16a..f4ca941ca 100644 --- a/docs/Homebrew/Diagnostic/Checks.html +++ b/docs/Homebrew/Diagnostic/Checks.html @@ -2392,12 +2392,12 @@

 
 
-1037
 1038
-1039
+1039 +1040 -
# File 'diagnostic.rb', line 1037
+      
# File 'diagnostic.rb', line 1038
 
 def all
   methods.map(&:to_s).grep(/^check_/).sort
@@ -2610,12 +2610,12 @@ 

 
 
-1041
 1042
-1043
+1043 +1044

-
# File 'diagnostic.rb', line 1041
+      
# File 'diagnostic.rb', line 1042
 
 def cask_checks
   all.grep(/^check_cask_/)
@@ -2933,7 +2933,6 @@ 

 
 
-971
 972
 973
 974
@@ -2956,10 +2955,11 @@ 

991 992 993 -994

+994 +995

-
# File 'diagnostic.rb', line 971
+      
# File 'diagnostic.rb', line 972
 
 def check_cask_environment_variables
   environment_variables = %w[
@@ -3073,16 +3073,16 @@ 

 
 
-963
 964
 965
 966
 967
 968
-969
+969 +970

-
# File 'diagnostic.rb', line 963
+      
# File 'diagnostic.rb', line 964
 
 def check_cask_load_path
   paths = $LOAD_PATH.map { user_tilde(_1) }
@@ -3125,7 +3125,6 @@ 

 
 
-1024
 1025
 1026
 1027
@@ -3136,10 +3135,11 @@ 

1032 1033 1034 -1035

+1035 +1036

-
# File 'diagnostic.rb', line 1024
+      
# File 'diagnostic.rb', line 1025
 
 def check_cask_quarantine_support
   case Cask::Quarantine.check_quarantine_support
@@ -3355,7 +3355,8 @@ 

958 959 960 -961

+961 +962
# File 'diagnostic.rb', line 943
@@ -3365,16 +3366,17 @@ 

taps = (Tap.to_a + [CoreCaskTap.instance]).uniq - add_info "Homebrew Cask Taps:", (taps.map do |tap| + add_info "Homebrew Cask Taps:", taps.filter_map do |tap| cask_count = begin tap.cask_files.count rescue error_tap_paths << tap.path 0 end + next if cask_count.zero? "#{tap.path} (#{Utils.pluralize("cask", cask_count, include_count: true)})" - end) + end taps_string = Utils.pluralize("tap", error_tap_paths.count) "Unable to read from cask #{taps_string}: #{error_tap_paths.to_sentence}" if error_tap_paths.present? @@ -3413,7 +3415,6 @@

 
 
-996
 997
 998
 999
@@ -3439,10 +3440,11 @@ 

1019 1020 1021 -1022

+1022 +1023

-
# File 'diagnostic.rb', line 996
+      
# File 'diagnostic.rb', line 997
 
 def check_cask_xattr
   result = system_command "/usr/bin/xattr", args: ["-h"]
@@ -8003,12 +8005,12 @@ 

 
 
-1045
 1046
-1047
+1047 +1048

-
# File 'diagnostic.rb', line 1045
+      
# File 'diagnostic.rb', line 1046
 
 def current_user
   ENV.fetch("USER", "$(whoami)")