diff options
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cli/reinstall.rb')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/reinstall.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/reinstall.rb b/Library/Homebrew/cask/lib/hbc/cli/reinstall.rb index ac514bd50..3560a4795 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/reinstall.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/reinstall.rb @@ -19,7 +19,7 @@ module Hbc "Casks", "#{cask_token}.rb") # use the same cask file that was used for installation, if possible - installed_cask = Hbc.load(latest_installed_cask_file) if latest_installed_cask_file.exist? + installed_cask = CaskLoader.load_from_file(latest_installed_cask_file) if latest_installed_cask_file.exist? end # Always force uninstallation, ignore method parameter |
