mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

Add more `odeprecated` calls to places that have been deprecated for a while in the wild and move some of the existing `odeprecated` calls to be `odisabled` to allow deleting the compatibility code.
10 lines
159 B
Ruby
10 lines
159 B
Ruby
class Pathname
|
|
def cp(_)
|
|
odisabled "Pathname#cp", "FileUtils.cp"
|
|
end
|
|
|
|
def chmod_R(_)
|
|
odisabled "Pathname#chmod_R", "FileUtils.chmod_R"
|
|
end
|
|
end
|