formatting correctly with brew style
This commit is contained in:
parent
fd97539b9e
commit
5013c17474
@ -218,9 +218,7 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
if casks.any?
|
if casks.any?
|
||||||
if args.options_only.include? "--ask"
|
opoo "Option --ask is not compatible with casks." if args.options_only.include? "--ask"
|
||||||
opoo "Option --ask is not compatible with casks."
|
|
||||||
end
|
|
||||||
if args.dry_run?
|
if args.dry_run?
|
||||||
if (casks_to_install = casks.reject(&:installed?).presence)
|
if (casks_to_install = casks.reject(&:installed?).presence)
|
||||||
ohai "Would install #{::Utils.pluralize("cask", casks_to_install.count, include_count: true)}:"
|
ohai "Would install #{::Utils.pluralize("cask", casks_to_install.count, include_count: true)}:"
|
||||||
|
|||||||
@ -333,6 +333,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, args:)
|
def ask(formulae, args:)
|
||||||
return if formulae.empty?
|
return if formulae.empty?
|
||||||
|
|
||||||
ohai "Looking for bottles..."
|
ohai "Looking for bottles..."
|
||||||
|
|
||||||
sized_formulae = compute_sized_formulae(formulae, args: args)
|
sized_formulae = compute_sized_formulae(formulae, args: args)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user