зеркало из https://github.com/github/ruby.git
util/rubocop -A --only Lint/NonLocalExitFromIterator
This commit is contained in:
Родитель
2e3cd1dc3e
Коммит
50a03035ee
|
@ -262,7 +262,7 @@ You can use `i` command instead of `install`.
|
|||
return unless errors
|
||||
|
||||
errors.each do |x|
|
||||
return unless Gem::SourceFetchProblem === x
|
||||
next unless Gem::SourceFetchProblem === x
|
||||
|
||||
require_relative "../uri"
|
||||
msg = "Unable to pull data from '#{Gem::Uri.redact(x.source.uri)}': #{x.error.message}"
|
||||
|
|
|
@ -391,7 +391,7 @@ EOM
|
|||
|
||||
extract_tar_gz entry, destination_dir, pattern
|
||||
|
||||
return # ignore further entries
|
||||
break # ignore further entries
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче