[rubygems/rubygems] util/rubocop -A --only Style/BarePercentLiterals

https://github.com/rubygems/rubygems/commit/02d8147243
This commit is contained in:
Hiroshi SHIBATA 2023-03-16 14:01:16 +09:00
parent bf69d1fc5d
commit ee7475734f
2 changed files with 2 additions and 3 deletions

View File

@ -990,7 +990,7 @@ TEXT
bindir="${0%/*}"
EOS
script << %Q(exec "$bindir/#{ruby_install_name}" "-x" "$0" "$@"\n)
script << %(exec "$bindir/#{ruby_install_name}" "-x" "$0" "$@"\n)
<<~EOS
#!/bin/sh

View File

@ -804,8 +804,7 @@ dependencies: []
end
full_path.taint
loader = Thread.new { $SAFE = 1
Gem::Specification.load full_path }
loader = Thread.new { $SAFE = 1; Gem::Specification.load full_path }
spec = loader.value
@a2.files.clear