formula: odeprecate license arrays

This commit is contained in:
Rylan Polster 2020-08-20 10:33:21 -04:00
parent 6eb07d70f0
commit 01f7446316

View File

@ -2236,7 +2236,10 @@ class Formula
if args.nil? if args.nil?
@licenses @licenses
else else
args = { any_of: args } if args.is_a? Array if args.is_a? Array
odeprecated "`license [...]`", "`license any_of: [...]`"
args = { any_of: args }
end
@licenses = args @licenses = args
end end
end end