diff options
author | Go MAEDA <maeda@farend.jp> | 2019-08-27 16:08:44 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-08-27 16:08:44 +0000 |
commit | fe0a89d7d172a9214c52aa136f616d55661887f6 (patch) | |
tree | cbc2e5120b6af05399b80e4d7932968501550033 /app/models/mail_handler.rb | |
parent | e9d74c01d0a9650e2a58aaaa48ebb52d8e69847c (diff) | |
download | redmine-fe0a89d7d172a9214c52aa136f616d55661887f6.tar.gz redmine-fe0a89d7d172a9214c52aa136f616d55661887f6.zip |
CodeCleanup: RuboCop: Fix Style/RaiseArgs in app/models/mail_handler.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18405 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/mail_handler.rb')
-rwxr-xr-x | 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 045424ffb..3510285f2 100755 --- a/app/models/mail_handler.rb +++ b/app/models/mail_handler.rb @@ -400,7 +400,7 @@ class MailHandler < ActionMailer::Base target = Project.find_by_identifier(default_project) end end - raise MissingInformation.new('Unable to determine target project') if target.nil? + raise MissingInformation, 'Unable to determine target project' if target.nil? target end |