1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-21 12:20:10 +01:00

rubocop Style/RedundantParentheses

This commit is contained in:
Mike Linksvayer 2023-12-28 12:13:28 -08:00 committed by GitHub
parent ff17268d1a
commit ee6461ba9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ current = license_ids.include?(license)
rows << ['Current license', current]
rows << :separator
eligible = (!current && spdx && approved_licenses.include?(license))
eligible = !current && spdx && approved_licenses.include?(license)
rows << ['Eligible', eligible]
puts Terminal::Table.new title: "License: #{license}", rows: rows