mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Appease rubocop
Co-authored-by: Ryuta Kamizono <kamipo@gmail.com>
This commit is contained in:
parent
ddb1ec2647
commit
f441e433d4
1 changed files with 3 additions and 3 deletions
|
@ -164,9 +164,9 @@ module ActionView
|
|||
# Remove trailing "/*"
|
||||
prefixes = wildcard_dependencies.map { |query| query[0..-3] }
|
||||
|
||||
@view_paths.flat_map(&:all_template_paths).uniq.select { |path|
|
||||
prefixes.include?(path.prefix)
|
||||
}.map(&:to_s).sort
|
||||
@view_paths.flat_map(&:all_template_paths).uniq.filter_map { |path|
|
||||
path.to_s if prefixes.include?(path.prefix)
|
||||
}.sort
|
||||
end
|
||||
|
||||
def explicit_dependencies
|
||||
|
|
Loading…
Reference in a new issue