mirror of
https://github.com/redmine/redmine.git
synced 2026-07-08 13:02:24 +02:00
Fix RuboCop offense Layout/EmptyLineAfterGuardClause (#38155).
git-svn-id: https://svn.redmine.org/redmine/trunk@22683 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -52,6 +52,7 @@ module Redmine
|
||||
if @@formatters[name] && @@formatters[name] != entry
|
||||
raise ArgumentError, "format name '#{name}' is already taken"
|
||||
end
|
||||
|
||||
@@formatters[name] = entry
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user