global: drop extend FileUtils

This commit is contained in:
Bo Anderson 2025-04-16 16:04:04 +01:00
parent e021a6b7dd
commit ccee96511f
No known key found for this signature in database

View File

@ -60,7 +60,11 @@ HOMEBREW_PULL_OR_COMMIT_URL_REGEX =
%r[https://github\.com/([\w-]+)/([\w-]+)?/(?:pull/(\d+)|commit/[0-9a-fA-F]{4,40})]
HOMEBREW_BOTTLES_EXTNAME_REGEX = /\.([a-z0-9_]+)\.bottle\.(?:(\d+)\.)?tar\.gz$/
# odeprecated: remove this in next major/minor release
require "fileutils"
module Homebrew
# odeprecated: remove this in next major/minor release
extend FileUtils
DEFAULT_PREFIX = T.let(ENV.fetch("HOMEBREW_DEFAULT_PREFIX").freeze, String)