Throw if no homepage set
That'll teach you!
This commit is contained in:
parent
f49bd4a9fa
commit
4b5d39feab
@ -59,6 +59,7 @@ class Formula
|
|||||||
validate_variable :version if @version
|
validate_variable :version if @version
|
||||||
|
|
||||||
set_instance_variable 'homepage'
|
set_instance_variable 'homepage'
|
||||||
|
raise if @homepage.nil?
|
||||||
|
|
||||||
CHECKSUM_TYPES.each do |type|
|
CHECKSUM_TYPES.each do |type|
|
||||||
set_instance_variable type
|
set_instance_variable type
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user