summaryrefslogtreecommitdiff
path: root/lib/rubygems/installer_uninstaller_utils.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-03-16 11:49:24 +0900
committerHiroshi SHIBATA <[email protected]>2023-03-17 18:50:55 +0900
commit583fbc627c2ad69457e37fc909f7aaf889d53483 (patch)
treed9d7d36ba001dad4128cca6130f570ce7d447200 /lib/rubygems/installer_uninstaller_utils.rb
parentc480a0c46a5fc9479bf6e3aa5bd1d2177878fad1 (diff)
[rubygems/rubygems] util/rubocop -A --only Layout/EmptyLinesAroundModuleBody
https://github.com/rubygems/rubygems/commit/48c88466b7
Diffstat (limited to 'lib/rubygems/installer_uninstaller_utils.rb')
-rw-r--r--lib/rubygems/installer_uninstaller_utils.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rubygems/installer_uninstaller_utils.rb b/lib/rubygems/installer_uninstaller_utils.rb
index d97b4e29b1..c5c2a52bab 100644
--- a/lib/rubygems/installer_uninstaller_utils.rb
+++ b/lib/rubygems/installer_uninstaller_utils.rb
@@ -4,7 +4,6 @@
# Helper methods for both Gem::Installer and Gem::Uninstaller
module Gem::InstallerUninstallerUtils
-
def regenerate_plugins_for(spec, plugins_dir)
plugins = spec.plugins
return if plugins.empty?
@@ -25,5 +24,4 @@ module Gem::InstallerUninstallerUtils
def remove_plugins_for(spec, plugins_dir)
FileUtils.rm_f Gem::Util.glob_files_in_dir("#{spec.name}#{Gem.plugin_suffix_pattern}", plugins_dir)
end
-
end