Merge pull request #8464 from reitermarkus/git-available-cache

Call `clear_available_cache` after installing Git.
This commit is contained in:
Markus Reiter 2020-08-24 05:50:47 +02:00 committed by GitHub
commit 9ea0577553
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,6 +94,7 @@ module Utils
begin
oh1 "Installing #{Formatter.identifier("git")}"
safe_system HOMEBREW_BREW_FILE, "install", "git"
clear_available_cache
rescue
raise "Git is unavailable"
end