summaryrefslogtreecommitdiff
path: root/lib/tasks/flay.rake
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-02-22 12:18:40 -0600
committerDouwe Maan <douwe@selenight.nl>2017-02-23 09:32:42 -0600
commit87c9df29ce8835da5d68dbf3e59674bd4524ee96 (patch)
tree0db8fb3fdda766f312441729d003b68ced7b2fa5 /lib/tasks/flay.rake
parente2bbbb1a9aea72e4313cdc257460eb416fe8dc0b (diff)
downloadgitlab-ce-87c9df29ce8835da5d68dbf3e59674bd4524ee96.tar.gz
Don’t exclude some file in lib from rubocop
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 e9587595fef..7ad2b2e4d39 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 = %x(bundle exec flay --mass 35 app/ lib/gitlab/)
+ output = `bundle exec flay --mass 35 app/ lib/gitlab/`
if output.include? "Similar code found"
puts output