Remove some unneeded requires.

This commit is contained in:
Markus Reiter 2020-11-30 00:49:07 +01:00
parent 7348185347
commit 6e20d27582
2 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,6 @@
# typed: true # typed: true
# frozen_string_literal: true # frozen_string_literal: true
require "formula"
require "os/linux/glibc" require "os/linux/glibc"
require "system_command" require "system_command"
@ -48,7 +47,7 @@ module SystemConfig
out.puts "/usr/bin/gcc: #{host_gcc_version}" out.puts "/usr/bin/gcc: #{host_gcc_version}"
out.puts "/usr/bin/ruby: #{host_ruby_version}" if RUBY_PATH != HOST_RUBY_PATH out.puts "/usr/bin/ruby: #{host_ruby_version}" if RUBY_PATH != HOST_RUBY_PATH
["glibc", "gcc", "xorg"].each do |f| ["glibc", "gcc", "xorg"].each do |f|
out.puts "#{f}: #{formula_linked_version f}" out.puts "#{f}: #{formula_linked_version(f)}"
end end
end end
end end

View File

@ -2,7 +2,6 @@
# frozen_string_literal: true # frozen_string_literal: true
require "keg" require "keg"
require "formula"
module Homebrew module Homebrew
# Helper module for uninstalling kegs. # Helper module for uninstalling kegs.