Merge pull request #5067 from sjackman/audit-head
audit: Permit HEAD for non-official taps
This commit is contained in:
commit
7b13f4a402
@ -642,7 +642,7 @@ module Homebrew
|
||||
end
|
||||
end
|
||||
|
||||
if formula.head || formula.devel
|
||||
if @official_tap && (formula.head || formula.devel)
|
||||
unstable_spec_message = "Formulae should not have a `HEAD` or `devel` spec"
|
||||
if @new_formula
|
||||
new_formula_problem unstable_spec_message
|
||||
|
Loading…
x
Reference in New Issue
Block a user