Merge pull request #10850 from Rylan12/remove-homebrew-python-resoruces

language/python: remove outdated "homebrew-" resource handling
This commit is contained in:
Rylan Polster 2021-03-15 20:14:35 -04:00 committed by GitHub
commit 1e37fbd362
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -256,8 +256,6 @@ module Language
targets = Array(targets) targets = Array(targets)
targets.each do |t| targets.each do |t|
if t.respond_to? :stage if t.respond_to? :stage
next if t.name.start_with? "homebrew-"
t.stage { do_install Pathname.pwd } t.stage { do_install Pathname.pwd }
else else
t = t.lines.map(&:strip) if t.respond_to?(:lines) && t.include?("\n") t = t.lines.map(&:strip) if t.respond_to?(:lines) && t.include?("\n")