From ccee96511fb76600e90cf0cc70269cc451b3a035 Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Wed, 16 Apr 2025 16:04:04 +0100 Subject: [PATCH] global: drop extend FileUtils --- Library/Homebrew/global.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index 4ba34f3a48..324a45ea4f 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -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)