Commit e3917de3 authored by Mikołaj Wawrzyniak's avatar Mikołaj Wawrzyniak Committed by Albert Salim

Apply 2 suggestion(s) to 1 file(s)

parent c3b102e0
...@@ -52,7 +52,7 @@ module Tooling ...@@ -52,7 +52,7 @@ module Tooling
end end
def dictionary_changed_file def dictionary_changed_file
all_changed_files.grep(%r{(doc/development/usage_ping/dictionary.md)}) all_changed_files.grep(%r{(doc/development/usage_ping/dictionary\.md)})
end end
def metrics_changed_files def metrics_changed_files
...@@ -73,7 +73,7 @@ module Tooling ...@@ -73,7 +73,7 @@ module Tooling
'data-track-action' 'data-track-action'
) )
all_changed_files.select do |file| all_changed_files.select do |file|
matching_files?(file, extension: '.rb', pattern: %r{Gitlab::Tracking\.event}) || matching_files?(file, extension: '.rb', pattern: %r{Gitlab::Tracking\.(event|enabled\?|snowplow_options)$}) ||
matching_files?(file, extension: '.js', pattern: js_patterns) || matching_files?(file, extension: '.js', pattern: js_patterns) ||
matching_files?(file, extension: '.vue', pattern: js_patterns) || matching_files?(file, extension: '.vue', pattern: js_patterns) ||
matching_files?(file, extension: '.haml', pattern: %r{data: \{ track}) matching_files?(file, extension: '.haml', pattern: %r{data: \{ track})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment