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

tap: ensure git is installed


Closes Homebrew/homebrew#43463.

Signed-off-by: default avatarXu Cheng <xucheng@me.com>
parent 03f7e19c
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,9 @@ module Homebrew
end
def install_tap(user, repo, clone_target = nil)
# ensure git is installed
Utils.ensure_git_installed!
tap = Tap.new user, repo
return false if tap.installed?
ohai "Tapping #{tap}"
......
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