mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
formula: odeprecate
license arrays
This commit is contained in:
parent
6eb07d70f0
commit
01f7446316
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user