Apply suggestions from code review

Co-authored-by: Bo Anderson <mail@boanderson.me>
This commit is contained in:
Carlo Cabrera 2022-09-21 23:05:00 +08:00 committed by GitHub
parent e9bcab6986
commit 1d9ee93e6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,9 +59,9 @@ module Stdenv
begin begin
send(compiler) send(compiler)
rescue CompilerSelectionError => e rescue CompilerSelectionError
# We don't care if our compiler fails to build the formula during `brew test`. # We don't care if our compiler fails to build the formula during `brew test`.
raise e unless testing_formula raise unless testing_formula
send(DevelopmentTools.default_compiler) send(DevelopmentTools.default_compiler)
end end