Skip to content

Commit

Permalink
Fix zap regression introduced in 6500fa1; ref Homebrew#21583 (Homeb…
Browse files Browse the repository at this point in the history
…rew#21607)

This PR fixes an issue with 6500fa1, in which the (internal) installer API was refactored in preparation for the big change. That refactoring missed one case, causing `zap` to break; see Homebrew#21583.

There are **no tests** included with this fix due to pre-existing coverage issues. Test will follow in a separate commit.
  • Loading branch information
claui authored and chizmw committed Jun 15, 2016
1 parent 4351059 commit 24ee6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hbc/installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def zap
uninstall_artifacts
if Hbc::Artifact::Zap.me?(@cask)
ohai "Dispatching zap stanza"
Hbc::Artifact::Zap.new(@cask, @command).zap_phase
Hbc::Artifact::Zap.new(@cask, command: @command).zap_phase
else
opoo "No zap stanza present for Cask '#{@cask}'"
end
Expand Down

0 comments on commit 24ee6c6

Please sign in to comment.