Remove trailing slash from SPDX license exception URL
This commit is contained in:
parent
39f0784108
commit
89ef97a51b
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user