diff options
| author | Joshua McKinney | 2017-03-27 01:31:29 -0500 |
|---|---|---|
| committer | Joshua McKinney | 2017-03-27 01:32:53 -0500 |
| commit | a90d1e169939cea7006f7465fe8c04370005223d (patch) | |
| tree | 236910b9c84898d9c98dbbb0070394143f55e767 /Library/Homebrew/cask/lib/hbc/cli | |
| parent | 437db065caad8cb607373c41c3dc7bb2e3c58a66 (diff) | |
| download | brew-a90d1e169939cea7006f7465fe8c04370005223d.tar.bz2 | |
Installer#reinstall instead of #install :reinstall
Call an explicit method on Installer to reinstall rather than using a
flag to indicate when we're reinstalling a cask
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cli')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/reinstall.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/reinstall.rb b/Library/Homebrew/cask/lib/hbc/cli/reinstall.rb index c27fa9f2f..c2ed8f462 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/reinstall.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/reinstall.rb @@ -10,8 +10,7 @@ module Hbc Installer.new(cask, force: force, skip_cask_deps: skip_cask_deps, - require_sha: require_sha, - reinstall: true).install + require_sha: require_sha).reinstall count += 1 rescue CaskUnavailableError => e |
