Mention type checking documentation when brew typecheck fails.

This commit is contained in:
Markus Reiter 2020-12-13 03:43:59 +01:00
parent 0e9b664d85
commit 3e63acad67

View File

@ -107,7 +107,12 @@ module Homebrew
srb_exec += ["--file", "../#{args.file}"] if args.file
srb_exec += ["--dir", "../#{args.dir}"] if args.dir
end
Homebrew.failed = !system(*srb_exec)
success = system(*srb_exec)
return if success
$stderr.puts "Check #{Formatter.url("https://docs.brew.sh/Typechecking")} for " \
"more information on how to resolve these errors."
Homebrew.failed = true
end
end
end