mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
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
This commit is contained in:
parent
e9d74c01d0
commit
fe0a89d7d1
@ -1616,7 +1616,6 @@ Style/RaiseArgs:
|
||||
Exclude:
|
||||
- 'app/models/auth_source_ldap.rb'
|
||||
- 'app/models/issue_query.rb'
|
||||
- 'app/models/mail_handler.rb'
|
||||
- 'app/models/mailer.rb'
|
||||
- 'app/models/query.rb'
|
||||
- 'app/models/tracker.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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user