0
0
Fork 0

Enable Style/IfUnlessModifier RuboCop (#30260)

This commit is contained in:
Nick Schonning 2024-05-13 05:54:15 -04:00 committed by GitHub
parent 9ec7c1f892
commit 13fb54920b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 14 deletions

View file

@ -79,9 +79,7 @@ module Devise
return pass
end
if validate(resource)
success!(resource)
end
success!(resource) if validate(resource)
end
private