From c46ee85e0a992fffd555e546c5c1aa911619b4e0 Mon Sep 17 00:00:00 2001 From: hyuraku <32809703+hyuraku@users.noreply.github.com> Date: Wed, 19 Apr 2023 23:15:12 +0900 Subject: [PATCH] remove args.quarantine? nil check --- Library/Homebrew/cmd/install.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index d539e794d8..10c60c31eb 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -204,7 +204,6 @@ module Homebrew end if casks.any? - quarantine = args.quarantine?.nil? ? true : args.quarantine? if args.dry_run? if (casks_to_install = casks.reject(&:installed?).presence) @@ -236,7 +235,7 @@ module Homebrew adopt: args.adopt?, require_sha: args.require_sha?, skip_cask_deps: args.skip_cask_deps?, - quarantine: quarantine, + quarantine: args.quarantine?, quiet: args.quiet?).install end end