Update shared_filelist_glob.rb

Co-authored-by: Kevin <apainintheneck@gmail.com>
This commit is contained in:
Bevan Kay 2024-02-08 07:03:51 +00:00 committed by GitHub
parent 60914a3f4f
commit bbebd3deec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ module RuboCop
next unless symbols.include?(:trash)
pair.each_descendant(:array).each do |array|
regex = /sfl\d"$/
regex = /\.sfl\d"$/
message = "Use a glob (*) instead of a specific version (ie. sfl2) for trashing Shared File List paths"
array.children.each do |item|