Skip to content
Snippets Groups Projects
Commit d1baf42d authored by Misty De Meo's avatar Misty De Meo
Browse files

doctor: skip outdated_homebrew check when no git

parent faf33205
No related branches found
No related tags found
No related merge requests found
......@@ -844,6 +844,7 @@ def check_for_bad_python_symlink
end
def check_for_outdated_homebrew
return unless which 'git'
HOMEBREW_REPOSITORY.cd do
if File.directory? ".git"
local = `git rev-parse -q --verify refs/remotes/origin/master`.chomp
......
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