diff options
author | Rémy Coutable <remy@rymai.me> | 2018-09-03 16:31:53 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-09-03 16:31:53 +0300 |
commit | 3a35a03ff8287e7a8ff54329f625542487985d4b (patch) | |
tree | c209586bb5c757fe64dfa292b1903c213cf4aa52 /lib | |
parent | 48541cacc050b931d884ba828d0901232308b4c4 (diff) |
Stop using Flay
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/flay.rake | 9 | ||||
-rw-r--r-- | lib/tasks/lint.rake | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/lib/tasks/flay.rake b/lib/tasks/flay.rake deleted file mode 100644 index 4bec013a141..00000000000 --- a/lib/tasks/flay.rake +++ /dev/null @@ -1,9 +0,0 @@ -desc 'Code duplication analyze via flay' -task :flay do - 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 - exit 1 - end -end diff --git a/lib/tasks/lint.rake b/lib/tasks/lint.rake index 006fcdd31a4..5d673a1a285 100644 --- a/lib/tasks/lint.rake +++ b/lib/tasks/lint.rake @@ -34,7 +34,6 @@ unless Rails.env.production? config_lint lint:haml scss_lint - flay gettext:lint gettext:updated_check lint:static_verification |