Skip to content
Snippets Groups Projects
Unverified Commit 7bd2f511 authored by Rylan Polster's avatar Rylan Polster Committed by GitHub
Browse files

Merge pull request #8620 from nwhetsell/fix-license-exception-url

Remove trailing slash from SPDX license exception URL
parents f83ca9bb 89ef97a5
No related branches found
No related tags found
No related merge requests found
......@@ -388,7 +388,7 @@ module Homebrew
problem <<~EOS
Formula #{formula.name} contains invalid or deprecated SPDX license exceptions: #{invalid_exceptions}.
For a list of valid license exceptions check:
#{Formatter.url("https://spdx.org/licenses/exceptions-index.html/")}
#{Formatter.url("https://spdx.org/licenses/exceptions-index.html")}
EOS
end
......
......@@ -354,7 +354,7 @@ module Homebrew
expect(fa.problems.first).to match <<~EOS
Formula cask contains invalid or deprecated SPDX license exceptions: ["zzz"].
For a list of valid license exceptions check:
https://spdx.org/licenses/exceptions-index.html/
https://spdx.org/licenses/exceptions-index.html
EOS
end
......@@ -373,7 +373,7 @@ module Homebrew
expect(fa.problems.first).to match <<~EOS
Formula cask contains invalid or deprecated SPDX license exceptions: ["#{deprecated_spdx_exception}"].
For a list of valid license exceptions check:
https://spdx.org/licenses/exceptions-index.html/
https://spdx.org/licenses/exceptions-index.html
EOS
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment