mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 04:40:09 +01:00
rubocop Style/RedundantParentheses
This commit is contained in:
parent
ff17268d1a
commit
ee6461ba9f
@ -55,7 +55,7 @@ current = license_ids.include?(license)
|
|||||||
rows << ['Current license', current]
|
rows << ['Current license', current]
|
||||||
|
|
||||||
rows << :separator
|
rows << :separator
|
||||||
eligible = (!current && spdx && approved_licenses.include?(license))
|
eligible = !current && spdx && approved_licenses.include?(license)
|
||||||
rows << ['Eligible', eligible]
|
rows << ['Eligible', eligible]
|
||||||
|
|
||||||
puts Terminal::Table.new title: "License: #{license}", rows: rows
|
puts Terminal::Table.new title: "License: #{license}", rows: rows
|
||||||
|
Loading…
x
Reference in New Issue
Block a user