rubocops/urls: remove dead link
This commit is contained in:
parent
d1d0bfc0ba
commit
4932fb7fd0
@ -143,10 +143,7 @@ module RuboCop
|
||||
end
|
||||
|
||||
if url.match?(%r{^https?://prdownloads\.})
|
||||
problem <<~EOS.chomp
|
||||
Don't use prdownloads in SourceForge urls (url is #{url}).
|
||||
See: http://librelist.com/browser/homebrew/2011/1/12/prdownloads-is-bad/
|
||||
EOS
|
||||
problem "Don't use prdownloads in SourceForge urls (url is #{url})."
|
||||
end
|
||||
|
||||
if url.match?(%r{^http://\w+\.dl\.})
|
||||
|
||||
@ -63,10 +63,8 @@ RSpec.describe RuboCop::Cop::FormulaAudit::Urls do
|
||||
"col" => 2,
|
||||
}, {
|
||||
"url" => "http://prdownloads.sourceforge.net/foo/foo-1.tar.gz",
|
||||
"msg" => <<~EOS.chomp,
|
||||
Don't use prdownloads in SourceForge urls (url is http://prdownloads.sourceforge.net/foo/foo-1.tar.gz).
|
||||
See: http://librelist.com/browser/homebrew/2011/1/12/prdownloads-is-bad/
|
||||
EOS
|
||||
"msg" => "Don't use prdownloads in SourceForge urls " \
|
||||
"(url is http://prdownloads.sourceforge.net/foo/foo-1.tar.gz).",
|
||||
"col" => 2,
|
||||
}, {
|
||||
"url" => "http://foo.dl.sourceforge.net/sourceforge/foozip/foozip_1.0.tar.bz2",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user