Flay should detect identical code in `ee/{app,lib}`

Proposed change:

diff --git a/lib/tasks/flay.rake b/lib/tasks/flay.rake
index 4b4881cecb..4bec013a14 100644
--- a/lib/tasks/flay.rake
+++ b/lib/tasks/flay.rake
@@ -1,6 +1,6 @@
 desc 'Code duplication analyze via flay'
 task :flay do
-  output = `bundle exec flay --mass 35 app/ lib/gitlab/ 2> #{File::NULL}`
+  output = `bundle exec flay --mass 35 app/ lib/gitlab/ ee/ 2> #{File::NULL}`
 
   if output.include?("Similar code found") || output.include?("IDENTICAL code found")
     puts output

It makes flay detect code that is both in CE and EE and really alike.

Assignee Loading
Time tracking Loading