Comment deprecations.

Co-authored-by: Bo Anderson <mail@boanderson.me>
This commit is contained in:
Markus Reiter 2024-09-05 17:18:00 +02:00 committed by GitHub
parent c61713b8e0
commit 123a2ac84c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2773,12 +2773,12 @@ class Formula
).returns(Pathname)
}
def fetch(verify_download_integrity: true, timeout: nil, quiet: false)
odeprecated "Formula#fetch", "Resource#fetch on Formula#resource"
# odeprecated "Formula#fetch", "Resource#fetch on Formula#resource"
active_spec.fetch(verify_download_integrity:, timeout:, quiet:)
end
def verify_download_integrity(filename)
odeprecated "Formula#verify_download_integrity", "Resource#verify_download_integrity on Formula#resource"
# odeprecated "Formula#verify_download_integrity", "Resource#verify_download_integrity on Formula#resource"
active_spec.verify_download_integrity(filename)
end