[script] update license display
This commit is contained in:
parent
062c4ee47f
commit
049b22794c
|
@ -86,7 +86,8 @@ def output_apps(apps)
|
|||
end
|
||||
|
||||
unless license.nil?
|
||||
details_list.push "License: [`#{license}`](http://choosealicense.com/licenses/#{license}/)" if license != 'other'
|
||||
license_display = license=='other'? "`#{license}`" : "[`#{license}`](http://choosealicense.com/licenses/#{license}/)"
|
||||
details_list.push "License: #{license_display}"
|
||||
end
|
||||
|
||||
unless homepage.nil?
|
||||
|
|
Loading…
Reference in New Issue