diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-22 12:13:44 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-23 17:18:49 +0900 |
commit | 50a03035ee79947a8327fec4f4de121c5a6b6eb5 () | |
tree | d5b32253e5e0f7d74952da02a1c27f2a2974009c /lib | |
parent | 2e3cd1dc3e30f4725b18032b85a36f208c9528bc (diff) |
util/rubocop -A --only Lint/NonLocalExitFromIterator
Notes: Merged: https://.com/ruby/ruby/pull/7582
-rw-r--r-- | lib/rubygems/commands/install_command.rb | 2 | ||||
-rw-r--r-- | lib/rubygems/package.rb | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -262,7 +262,7 @@ You can use `i` command instead of `install`. return unless errors errors.each do |x| - return 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 end end end |