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

[rubygems/rubygems] Use [] instead of double-quotes

This commit is contained in:
Hiroshi SHIBATA 2022-10-19 20:39:07 +09:00 committed by git
parent a25c033805
commit 86096a91d5

View file

@ -66,7 +66,7 @@ class TestGemSourceGit < Gem::TestCase
# We need to allow to checkout submodules with file:// protocol
# CVE-2022-39253
# https://lore.kernel.org/lkml/xmqq4jw1uku5.fsf@gitster.g/
system(@git, *%W"config --global protocol.file.allow always")
system(@git, *%W[config --global protocol.file.allow always])
source = Gem::Source::Git.new @name, @repository, "master", true