Skip to content

Commit

Permalink
Dot is a valid character in SPDX license IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
njh committed Jul 6, 2020
1 parent 75fccc6 commit 874e875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/build-index-with-github.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
# Create an index of licenses
data[:licenses] = {}
data[:libraries].each_pair do |key, library|
next unless library[:license] =~ /^[\w\-]+$/
next unless library[:license] =~ /^[\w\-\.]+$/
license = library[:license]
data[:licenses][license] ||= []
data[:licenses][license] << key
Expand Down

0 comments on commit 874e875

Please sign in to comment.