formula: deprecate license on next release.

This commit is contained in:
Mike McQuaid 2020-08-21 09:51:06 +01:00 committed by GitHub
parent 97b1b75dc5
commit 5fbbc9df32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2237,7 +2237,8 @@ class Formula
@licenses
else
if args.is_a? Array
odeprecated "`license [...]`", "`license any_of: [...]`"
# TODO: enable for next major/minor release
# odeprecated "`license [...]`", "`license any_of: [...]`"
args = { any_of: args }
end
@licenses = args