Fix rubocop warnings

shrike
Claire 2024-05-24 17:13:34 +02:00
parent e947f1f2ed
commit 1a2a28eb4a
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ class AdvancedTextFormatter < TextFormatter
# @option options [String] :content_type
def initialize(text, options = {})
@content_type = options.delete(:content_type)
super(text, options)
super
@text = format_markdown(text) if content_type == 'text/markdown'
end

View File

@ -38,7 +38,7 @@ module ActiveRecord
end
end
super(direction, migrations, schema_migration, internal_metadata, target_version)
super
end
end