diff options
| author | Baptiste Fontaine | 2016-03-13 01:40:00 +0100 |
|---|---|---|
| committer | Xu Cheng | 2016-03-14 19:39:15 +0800 |
| commit | 236a18debe51e815f2d81a43d2151c500555abf9 (patch) | |
| tree | ec6b164bfba5ea718d818f8bf1ed8848bc6258d2 /Library/Homebrew/language/java.rb | |
| parent | 1e1184fc2d7bae278b2806ddda296e26dcc9fe97 (diff) | |
| download | brew-236a18debe51e815f2d81a43d2151c500555abf9.tar.bz2 | |
audit: fix crash when HOMEBREW_NO_GITHUB_API is set
Running brew audit --strict --online on a formula with a GitHub
homepage/url would crash if HOMEBREW_NO_GITHUB_API is set because
GitHub.repository returns `nil` and the audit code assumes it always
returns a hash.
Closes Homebrew/homebrew#50054.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
Diffstat (limited to 'Library/Homebrew/language/java.rb')
0 files changed, 0 insertions, 0 deletions
