Add an attr_reader for 'head'
This allows `brew audit` to inspect the head URLs, for example; until now, that check was failing silently. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
f29c44d1fd
commit
0a49981a30
@ -100,7 +100,7 @@ class Formula
|
|||||||
include FileUtils
|
include FileUtils
|
||||||
|
|
||||||
attr_reader :name, :path, :url, :version, :homepage, :specs, :downloader
|
attr_reader :name, :path, :url, :version, :homepage, :specs, :downloader
|
||||||
attr_reader :bottle, :bottle_sha1
|
attr_reader :bottle, :bottle_sha1, :head
|
||||||
|
|
||||||
# Homebrew determines the name
|
# Homebrew determines the name
|
||||||
def initialize name='__UNKNOWN__', path=nil
|
def initialize name='__UNKNOWN__', path=nil
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user