mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 04:40:09 +01:00
add code search
This commit is contained in:
parent
8e56bb8315
commit
6bc145a0de
@ -54,3 +54,5 @@ elligible = !!(spdx && approved_licenses.include?(license))
|
|||||||
rows << ["Elligible", elligible]
|
rows << ["Elligible", elligible]
|
||||||
|
|
||||||
puts Terminal::Table.new title: "License: #{license}", rows: rows
|
puts Terminal::Table.new title: "License: #{license}", rows: rows
|
||||||
|
puts
|
||||||
|
puts "Code search: https://github.com/search?q=#{license}+filename%3ALICENSE&type=Code"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user