Skip to content

Commit

Permalink
Fix zap regression introduced in 6500fa1; ref #21583 (#21607)
Browse files Browse the repository at this point in the history
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 #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 adidalal committed Jun 1, 2016
1 parent 2022c59 commit 6efae29
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 6efae29

Please sign in to comment.