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