Skip to content

Commit

Permalink
exclude basic text from flay
Browse files Browse the repository at this point in the history
  • Loading branch information
zendesk-mattlefevre committed Feb 29, 2024
1 parent a322232 commit 2e9548f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ task :flay do
'plugins/kubernetes/app/models/kubernetes/deploy_group_role.rb', # similar but slightly different validations
'plugins/flowdock/app/views/samson_flowdock/_fields.html.erb', # simple html
'plugins/datadog/app/views/samson_datadog/_datadog_monitor_queries_fields.html.erb', # simple html
'plugins/zendesk/app/views/samson_zendesk/notification.erb', # simple text
'app/views/deploy_mailer/_commit_info.text.erb', # simple text
]
flay = Flay.run([*files, '--mass', '25']) # mass threshold is shown mass / occurrences
abort "Code duplication found" if flay.report.any?
Expand Down

0 comments on commit 2e9548f

Please sign in to comment.