mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
DEV: Apply Rubocop redundant return style
This commit is contained in:
@ -38,7 +38,7 @@ class Auth::GithubAuthenticator < Auth::Authenticator
|
||||
|
||||
def valid?()
|
||||
@validator.validate_each(self, :email, @email)
|
||||
return errors.blank?
|
||||
errors.blank?
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user