diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-14 14:51:48 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-14 14:51:48 +0000 |
commit | 70965412a696dcbd93847df40e5d4bfcc50e30fd (patch) | |
tree | 7269d5fd7addc0c61406ff83c6b632606eb73d39 /app | |
parent | 0b3bbd0e62616148933370b9a503b6d454a2e697 (diff) | |
download | redmine-70965412a696dcbd93847df40e5d4bfcc50e30fd.tar.gz redmine-70965412a696dcbd93847df40e5d4bfcc50e30fd.zip |
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
Diffstat (limited to 'app')
-rw-r--r-- | app/models/mail_handler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb index 95a1e1742..60898ff6f 100644 --- a/app/models/mail_handler.rb +++ b/app/models/mail_handler.rb @@ -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 |