[rubygems/rubygems] Remove outdated/incorrect comment.

The function is also significantly simpler than it used to be,
to the point I'm not sure it needs a comment.

https://github.com/rubygems/rubygems/commit/29a0551e37
This commit is contained in:
Ellen Marie Dash 2023-09-30 19:15:42 -04:00 коммит произвёл Hiroshi SHIBATA
Родитель 3f5da31760
Коммит 724398cce6
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -56,10 +56,6 @@ class Gem::PathSupport
private private
##
# The default home directory.
# This function was broken out to accommodate tests in `bundler/spec/commands/doctor_spec.rb`.
def normalize_home_dir(home) def normalize_home_dir(home)
if File::ALT_SEPARATOR if File::ALT_SEPARATOR
home = home.gsub(File::ALT_SEPARATOR, File::SEPARATOR) home = home.gsub(File::ALT_SEPARATOR, File::SEPARATOR)