util/rubocop -A --only Lint/NonLocalExitFromIterator

This commit is contained in:
Hiroshi SHIBATA 2023-03-22 12:13:44 +09:00
parent 2e3cd1dc3e
commit 50a03035ee
Notes: git 2023-03-23 08:19:21 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -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}"

View File

@ -391,7 +391,7 @@ EOM
extract_tar_gz entry, destination_dir, pattern
return # ignore further entries
break # ignore further entries
end
end
end