[rubygems/rubygems] util/rubocop -A --only Lint/UnreachableCode

https://github.com/rubygems/rubygems/commit/f06047f52a
This commit is contained in:
Hiroshi SHIBATA 2023-03-22 12:48:40 +09:00
parent 01be518eba
commit 8260698e74
Notes: git 2023-03-23 08:19:25 +00:00

View File

@ -33,7 +33,6 @@ class Gem::Source::SpecificFile < Gem::Source
def fetch_spec(name) # :nodoc:
return @spec if name == @name
raise Gem::Exception, "Unable to find '#{name}'"
@spec
end
def download(spec, dir = nil) # :nodoc: