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