mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
Merge pull request #567 from wking/check-approval-license-ids
check-approval: Fix missing license_ids variable
This commit is contained in:
commit
3174c978cf
@ -52,6 +52,7 @@ approvals.each do |approver, licenses|
|
||||
rows << ["#{approver} approved", licenses.include?(license)]
|
||||
end
|
||||
|
||||
license_ids = licenses.map { |l| l['id'] }
|
||||
current = license_ids.include?(license)
|
||||
rows << ['Current license', current]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user