Skip to content

Commit

Permalink
core: _actually_ fix caveats
Browse files Browse the repository at this point in the history
there was another untested place where the cask methods were being
re-implemented. these were preventing casks with caveats from working
properly.

refs Homebrew#9494
  • Loading branch information
phinze committed Feb 9, 2015
1 parent 5df4313 commit 4d1140a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/hbc/caveats.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ def version
end

def caskroom_path
@cask.class.caskroom.join(token)
@cask.caskroom_path
end

def staged_path
caskroom_path.join(@cask.version.to_s)
@cask.staged_path
end

# DSL. Each method should handle output, following the convention of
Expand Down

0 comments on commit 4d1140a

Please sign in to comment.