summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/contents_command.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-03-16 13:00:54 +0900
committerHiroshi SHIBATA <[email protected]>2023-03-17 18:50:55 +0900
commit4bb5ce8188c7623106d124d3398c6b73bfa8ecd4 ()
treedbf435e5eef48a59ff5360e1f65be58ca78ba30c /lib/rubygems/commands/contents_command.rb
parent83f9aa8f02c9fdcf8d22f0859c4f4fb3ad30bb42 (diff)
[rubygems/rubygems] util/rubocop -A --only Style/StringLiteralsInInterpolation
https://.com/rubygems/rubygems/commit/cb554f6eb7
-rw-r--r--lib/rubygems/commands/contents_command.rb2
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ prefix or only the files that are requireable.
def files_in_gem(spec)
gem_path = spec.full_gem_path
- extra = "/{#{spec.require_paths.join ','}}" if options[:lib_only]
glob = "#{gem_path}#{extra}/**/*"
prefix_re = /#{Regexp.escape(gem_path)}\//