code cleanup: rubocop: fix Layout/SpaceAfterSemicolon in app/models/mail_handler.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18657 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2019-10-14 14:51:48 +00:00
parent 0b3bbd0e62
commit 70965412a6
2 changed files with 1 additions and 6 deletions

View File

@@ -560,7 +560,7 @@ class MailHandler < ActionMailer::Base
unless user.valid?
user.login = "user#{Redmine::Utils.random_hex(6)}" unless user.errors[:login].blank?
user.firstname = "-" unless user.errors[:firstname].blank?
(puts user.errors[:lastname];user.lastname = "-") unless user.errors[:lastname].blank?
(puts user.errors[:lastname]; user.lastname = "-") unless user.errors[:lastname].blank?
end
user