1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Remove unnecessary parenthesis

https://github.com/rubygems/rubygems/commit/97772bb066
This commit is contained in:
David Rodríguez 2020-06-02 10:15:39 +02:00 committed by Hiroshi SHIBATA
parent 9c55172bd0
commit 1f9e684c77
Notes: git 2020-06-05 07:33:45 +09:00

View file

@ -547,7 +547,7 @@ By default, this RubyGems will install gem as:
def bundler_template_files
Dir.chdir "bundler/lib" do
(Dir[File.join('bundler', 'templates', '**', '{*,.*}')]).
Dir[File.join('bundler', 'templates', '**', '{*,.*}')].
select{|f| !File.directory?(f)}
end
end
@ -555,7 +555,7 @@ By default, this RubyGems will install gem as:
# for cleanup old bundler files
def template_files_in(dir)
Dir.chdir dir do
(Dir[File.join('templates', '**', '{*,.*}')]).
Dir[File.join('templates', '**', '{*,.*}')].
select{|f| !File.directory?(f)}
end
end