Skip to content

Commit

Permalink
Merge pull request #568 from wking/case-insensitive-spdx-lookup
Browse files Browse the repository at this point in the history
spec_helper: Restore case-insensitive matching in find_spdx
  • Loading branch information
mlinksva authored Jan 3, 2018
2 parents 5f83952 + af78adb commit 3ad9bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def spdx_ids
end

def find_spdx(license)
spdx_list.find { |name, _properties| name == license }
spdx_list.find { |name, _properties| name.casecmp(license).zero? }
end

def osi_approved_licenses
Expand Down

0 comments on commit 3ad9bf7

Please sign in to comment.