Apparently quiet_system isn't always quiet

cf. Homebrew/homebrew#28918.
This commit is contained in:
Jack Nagel 2014-05-02 10:58:22 -05:00
parent cf5ecfc06d
commit 273d580550

View File

@ -59,7 +59,7 @@ class Checks
# git here to avoid multiple warnings. # git here to avoid multiple warnings.
def git? def git?
return @git if instance_variable_defined?(:@git) return @git if instance_variable_defined?(:@git)
@git = which("git") && quiet_system("git", "--version") @git = system "git --version >/dev/null 2>&1"
end end
############# END HELPERS ############# END HELPERS