diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-19 00:09:00 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-19 00:09:00 +0300 |
commit | 7d46e0437fb6e41b1a597ed159a4c1f2b0beca7b (patch) | |
tree | 76fb66c4b5dfa1a84995750a0b0bfc3e43065a87 /app/services/users/update_canonical_email_service.rb | |
parent | c8deb6a80194f536584bbb6c97d92bff7116c548 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/users/update_canonical_email_service.rb')
-rw-r--r-- | app/services/users/update_canonical_email_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/users/update_canonical_email_service.rb b/app/services/users/update_canonical_email_service.rb index 1400fd58eb4..e75452f60fd 100644 --- a/app/services/users/update_canonical_email_service.rb +++ b/app/services/users/update_canonical_email_service.rb @@ -7,7 +7,7 @@ module Users INCLUDED_DOMAINS_PATTERN = [/gmail.com/].freeze def initialize(user:) - raise ArgumentError.new("Please provide a user") unless user&.is_a?(User) + raise ArgumentError.new("Please provide a user") unless user.is_a?(User) @user = user end |