Improve error when no url given
This commit is contained in:
parent
df3cca94e1
commit
5193d835a4
@ -99,7 +99,7 @@ class Formula
|
||||
@version='HEAD'
|
||||
end
|
||||
|
||||
raise if @url.nil?
|
||||
raise "No url provided for formula #{name}" if @url.nil?
|
||||
@name=name
|
||||
validate_variable :name
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user