summaryrefslogtreecommitdiff
path: root/lib/tasks/flay.rake
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-01-24 03:03:21 +0800
committerLin Jen-Shin <godfat@godfat.org>2018-01-26 19:42:48 +0800
commitb0b6abde1036b0a867310a2cd7cfd72737eb47ab (patch)
treedde8b3ce892e31cad0750f5c84549d10b5c5b690 /lib/tasks/flay.rake
parenta65fa2c4e68a42231ec114e002b749c57f83a7de (diff)
downloadgitlab-ce-b0b6abde1036b0a867310a2cd7cfd72737eb47ab.tar.gz
Ignore flay warnings
Diffstat (limited to 'lib/tasks/flay.rake')
-rw-r--r--lib/tasks/flay.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/flay.rake b/lib/tasks/flay.rake
index 7ad2b2e4d39..b1e012e70c5 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/`
+ output = `bundle exec flay --mass 35 app/ lib/gitlab/ 2> #{File::NULL}`
if output.include? "Similar code found"
puts output