FormulaLock: fix uninitialized ivar

This commit is contained in:
Jack Nagel 2013-04-05 22:06:52 -05:00
parent 05a8c1913c
commit 8234ac22e9

View File

@ -4,6 +4,7 @@ class FormulaLock
def initialize(name) def initialize(name)
@name = name @name = name
@path = LOCKDIR.join("#{@name}.brewing") @path = LOCKDIR.join("#{@name}.brewing")
@lockfile = nil
end end
def lock def lock