From 4451e753a7d665334e50dde94d8b781d3b7ceab2 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 7 Feb 2024 00:59:58 +0000 Subject: [PATCH] Fix RuboCop offense Layout/EmptyLineAfterGuardClause (#38155). git-svn-id: https://svn.redmine.org/redmine/trunk@22683 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/wiki_formatting.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/redmine/wiki_formatting.rb b/lib/redmine/wiki_formatting.rb index 95455417a..d4e642847 100644 --- a/lib/redmine/wiki_formatting.rb +++ b/lib/redmine/wiki_formatting.rb @@ -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 -- 2.39.5