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:
parent
9c55172bd0
commit
1f9e684c77
Notes:
git
2020-06-05 07:33:45 +09:00
1 changed files with 2 additions and 2 deletions
|
@ -547,7 +547,7 @@ By default, this RubyGems will install gem as:
|
||||||
|
|
||||||
def bundler_template_files
|
def bundler_template_files
|
||||||
Dir.chdir "bundler/lib" do
|
Dir.chdir "bundler/lib" do
|
||||||
(Dir[File.join('bundler', 'templates', '**', '{*,.*}')]).
|
Dir[File.join('bundler', 'templates', '**', '{*,.*}')].
|
||||||
select{|f| !File.directory?(f)}
|
select{|f| !File.directory?(f)}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -555,7 +555,7 @@ By default, this RubyGems will install gem as:
|
||||||
# for cleanup old bundler files
|
# for cleanup old bundler files
|
||||||
def template_files_in(dir)
|
def template_files_in(dir)
|
||||||
Dir.chdir dir do
|
Dir.chdir dir do
|
||||||
(Dir[File.join('templates', '**', '{*,.*}')]).
|
Dir[File.join('templates', '**', '{*,.*}')].
|
||||||
select{|f| !File.directory?(f)}
|
select{|f| !File.directory?(f)}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue