Remove some unneeded requires.
This commit is contained in:
parent
7348185347
commit
6e20d27582
@ -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
|
||||||
|
|||||||
@ -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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user