Update shared_filelist_glob.rb
Co-authored-by: Kevin <apainintheneck@gmail.com>
This commit is contained in:
parent
60914a3f4f
commit
bbebd3deec
@ -15,7 +15,7 @@ module RuboCop
|
|||||||
next unless symbols.include?(:trash)
|
next unless symbols.include?(:trash)
|
||||||
|
|
||||||
pair.each_descendant(:array).each do |array|
|
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"
|
message = "Use a glob (*) instead of a specific version (ie. sfl2) for trashing Shared File List paths"
|
||||||
|
|
||||||
array.children.each do |item|
|
array.children.each do |item|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user