diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-16 13:36:06 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-17 18:50:55 +0900 |
commit | 66bd2c1a1cea53dec4cf2d9e625ac01d3418863e () | |
tree | c616f98bfd4241e232e3a93c895faf7a1f6c0856 /lib/rubygems/installer.rb | |
parent | 52ea7afa5f33d1a586866e0f12ede3b4a2a083e8 (diff) |
[rubygems/rubygems] util/rubocop -A --only Style/CommentAnnotation
https://.com/rubygems/rubygems/commit/4e77a1d1d5
-rw-r--r-- | lib/rubygems/installer.rb | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -233,7 +233,7 @@ class Gem::Installer io.gets # blankline - # TODO detect a specially formatted comment instead of trying # to find a string inside Ruby code. next unless io.gets.to_s.include?("This file was generated by RubyGems") @@ -346,7 +346,7 @@ class Gem::Installer spec - # TODO This rescue is in the wrong place. What is raising this exception? # move this rescue to around the code that actually might raise it. rescue Zlib::GzipFile::Error raise Gem::InstallError, "gzip error installing #{gem}" @@ -748,7 +748,7 @@ class Gem::Installer # Return the text for an application file. def app_script_text(bin_file_name) - # note that the `load` lines cannot be indented, as old RG versions match # against the beginning of the line return <<-TEXT #{shebang bin_file_name} |