aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/cli/fetch.rb
diff options
context:
space:
mode:
authorMarkus Reiter2017-03-13 01:09:36 +0100
committerMarkus Reiter2017-03-16 19:16:42 +0100
commited10135da4fbabca2798afe949b6f5af9544ec9f (patch)
treefc9991edb93017eaab5fe4b26f781a45ad909b77 /Library/Homebrew/cask/lib/hbc/cli/fetch.rb
parentd7af864be0e64c830a4c9944980bece19a60872d (diff)
downloadbrew-ed10135da4fbabca2798afe949b6f5af9544ec9f.tar.bz2
Replace `Hbc.load` with `CaskLoader.load`.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cli/fetch.rb')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/fetch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/fetch.rb b/Library/Homebrew/cask/lib/hbc/cli/fetch.rb
index fc928586f..83dba672c 100644
--- a/Library/Homebrew/cask/lib/hbc/cli/fetch.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli/fetch.rb
@@ -8,7 +8,7 @@ module Hbc
cask_tokens.each do |cask_token|
ohai "Downloading external files for Cask #{cask_token}"
- cask = Hbc.load(cask_token)
+ cask = CaskLoader.load(cask_token)
downloaded_path = Download.new(cask, force: force).perform
Verify.all(cask, downloaded_path)
ohai "Success! Downloaded to -> #{downloaded_path}"