Fix style issues

This commit is contained in:
Nanda H Krishna 2022-12-22 23:52:26 -05:00
parent 213679f19c
commit fe0eb9b5b0
No known key found for this signature in database
GPG Key ID: 067E5FCD58ADF3AA
3 changed files with 15 additions and 16 deletions

View File

@ -81,6 +81,7 @@ class URL < Delegator
class BlockDSL class BlockDSL
extend T::Sig extend T::Sig
# To access URL associated with page contents.
module PageWithURL module PageWithURL
extend T::Sig extend T::Sig

View File

@ -103,7 +103,7 @@ module Homebrew
arguments = dirs.sort + %w[-type f (] arguments = dirs.sort + %w[-type f (]
arguments.concat UNBREWED_EXCLUDE_FILES.flat_map { |f| %W[! -name #{f}] } arguments.concat UNBREWED_EXCLUDE_FILES.flat_map { |f| %W[! -name #{f}] }
arguments.concat UNBREWED_EXCLUDE_PATHS.flat_map { |d| %W[! -path #{d}] } arguments.concat UNBREWED_EXCLUDE_PATHS.flat_map { |d| %W[! -path #{d}] }
arguments.concat %w[)] arguments.push ")"
cd HOMEBREW_PREFIX cd HOMEBREW_PREFIX
safe_system "find", *arguments safe_system "find", *arguments

View File

@ -721,21 +721,19 @@ class FormulaInstaller
fi = FormulaInstaller.new( fi = FormulaInstaller.new(
df, df,
**{ options: options,
options: options, link_keg: keg_had_linked_keg ? keg_was_linked : nil,
link_keg: keg_had_linked_keg ? keg_was_linked : nil, installed_as_dependency: true,
installed_as_dependency: true, installed_on_request: df.any_version_installed? && tab.present? && tab.installed_on_request,
installed_on_request: df.any_version_installed? && tab.present? && tab.installed_on_request, force_bottle: false,
force_bottle: false, include_test_formulae: @include_test_formulae,
include_test_formulae: @include_test_formulae, build_from_source_formulae: @build_from_source_formulae,
build_from_source_formulae: @build_from_source_formulae, keep_tmp: keep_tmp?,
keep_tmp: keep_tmp?, debug_symbols: debug_symbols?,
debug_symbols: debug_symbols?, force: force?,
force: force?, debug: debug?,
debug: debug?, quiet: quiet?,
quiet: quiet?, verbose: verbose?,
verbose: verbose?,
},
) )
oh1 "Installing #{formula.full_name} dependency: #{Formatter.identifier(dep.name)}" oh1 "Installing #{formula.full_name} dependency: #{Formatter.identifier(dep.name)}"
fi.install fi.install