brew style -fix

This commit is contained in:
Mike McQuaid 2021-12-29 13:07:39 +00:00
parent 442af3772a
commit 510bc25db6
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ module Homebrew
Formulary.enable_factory_cache!
recursive = !args.send("1?")
recursive = !args.send(:"1?")
installed = args.installed? || dependents(args.named.to_formulae_and_casks).all?(&:any_version_installed?)
@use_runtime_dependencies = installed && recursive &&

View File

@ -130,7 +130,7 @@ describe "ENV" do
describe "#compiler" do
it "allows switching compilers" do
subject.public_send("gcc-6")
subject.public_send(:"gcc-6")
expect(subject.compiler).to eq("gcc-6")
end
end