]> source.dussan.org Git - redmine.git/commitdiff
add empty line after guard clause to lib/redmine/wiki_formatting.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 3 Nov 2020 14:55:09 +0000 (14:55 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 3 Nov 2020 14:55:09 +0000 (14:55 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20231 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/wiki_formatting.rb

index fb7799689ef4534dc1db17c1eb7bd012de2d7da9..ec62f2781a799e3a89af10d49c92938d622cb1f9 100644 (file)
@@ -34,6 +34,7 @@ module Redmine
         options = args.last.is_a?(Hash) ? args.pop : {}
         name = name.to_s
         raise ArgumentError, "format name '#{name}' is already taken" if @@formatters[name]
+
         formatter, helper, parser =
           if args.any?
             args
@@ -41,6 +42,7 @@ module Redmine
             %w(Formatter Helper HtmlParser).map {|m| "Redmine::WikiFormatting::#{name.classify}::#{m}".constantize rescue nil}
           end
         raise "A formatter class is required" if formatter.nil?
+
         @@formatters[name] = {
           :formatter => formatter,
           :helper => helper,