mirror of
https://github.com/github/choosealicense.com
synced 2025-01-03 10:31:44 +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)]
|
rows << ["#{approver} approved", licenses.include?(license)]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
license_ids = licenses.map { |l| l['id'] }
|
||||||
current = license_ids.include?(license)
|
current = license_ids.include?(license)
|
||||||
rows << ['Current license', current]
|
rows << ['Current license', current]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user