gitlab-ce/danger/cookie_setting/Dangerfile

9 lines
238 B
Ruby

# frozen_string_literal: true
helper.all_changed_files.each do |filename|
next unless filename.end_with?('.rb')
next if filename.start_with?('spec/', 'ee/spec/', 'jh/spec/', 'qa/')
cookie_setting.add_suggestions_for(filename)
end