applying brew tests, typecheck, style
This commit is contained in:
parent
499a9b9dae
commit
76e7a13332
@ -172,9 +172,7 @@ module Homebrew
|
||||
end
|
||||
|
||||
if casks.any?
|
||||
if args.ask?
|
||||
Install.ask_casks casks
|
||||
end
|
||||
Install.ask_casks casks if args.ask?
|
||||
Cask::Reinstall.reinstall_casks(
|
||||
*casks,
|
||||
binaries: args.binaries?,
|
||||
|
||||
@ -260,6 +260,7 @@ module Homebrew
|
||||
sig { params(casks: T::Array[Cask::Cask]).returns(T::Boolean) }
|
||||
def upgrade_outdated_casks(casks)
|
||||
return false if args.formula?
|
||||
|
||||
Install.ask_casks casks
|
||||
|
||||
Cask::Upgrade.upgrade_casks(
|
||||
|
||||
@ -332,7 +332,7 @@ module Homebrew
|
||||
|
||||
# If asking the user is enabled, show dependency and size information.
|
||||
def ask_formulae(formulae, args:)
|
||||
return if formulae.empty? && casks.empty?
|
||||
return if formulae.empty?
|
||||
|
||||
ohai "Looking for bottles..."
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user