Merge pull request #20138 from Homebrew/rm-zap-messaging

cask/installer: remove confusing `zap` messaging
This commit is contained in:
Mike McQuaid 2025-06-18 07:32:47 +00:00 committed by GitHub
commit 43a72a1a03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 2 deletions

View File

@ -604,7 +604,6 @@ on_request: true)
def zap
load_installed_caskfile!
ohai "Implied `brew uninstall --cask #{@cask}`"
uninstall_artifacts
if (zap_stanzas = @cask.artifacts.select { |a| a.is_a?(Artifact::Zap) }).empty?
opoo "No zap stanza present for Cask '#{@cask}'"

View File

@ -34,7 +34,6 @@ RSpec.describe Cask::Reinstall, :cask do
output = Regexp.new <<~EOS
==> Downloading file:.*caffeine.zip
Already downloaded: .*--caffeine.zip
==> Implied `brew uninstall --cask local-caffeine`
==> Backing App 'Caffeine.app' up to '.*Caffeine.app'
==> Removing App '.*Caffeine.app'
==> Dispatching zap stanza