From 4d1140a55f7a65d8ea7621dc3238af6030a060e6 Mon Sep 17 00:00:00 2001 From: Paul Hinze Date: Mon, 9 Feb 2015 15:28:59 -0600 Subject: [PATCH] core: _actually_ fix caveats there was another untested place where the cask methods were being re-implemented. these were preventing casks with caveats from working properly. refs #9494 --- lib/hbc/caveats.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/hbc/caveats.rb b/lib/hbc/caveats.rb index 376d7ca373bdc..9a830e0c46bb3 100644 --- a/lib/hbc/caveats.rb +++ b/lib/hbc/caveats.rb @@ -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