Fix Style/ReductantReturn rubocop

Exclusions from .rubocop_todo.yml deleted.This cop checks for redundant return expressions.
Fixes #1824
This commit is contained in:
Sidharth 2017-12-04 13:05:23 +05:30
parent c0e4d54415
commit 020dae3d49
5 changed files with 9 additions and 19 deletions

View file

@ -18,7 +18,7 @@ module UsersHelper
providers << provider if !ENV["OSEM_#{provider.upcase}_KEY"].blank? && !ENV["OSEM_#{provider.upcase}_SECRET"].blank?
end
return providers.uniq
providers.uniq
end
# Receives a hash, generated from User model, function get_roles