mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-23 07:20:33 +00:00
Fix rubocop warnings
This commit is contained in:
@@ -31,7 +31,7 @@ class AdvancedTextFormatter < TextFormatter
|
|||||||
# @option options [String] :content_type
|
# @option options [String] :content_type
|
||||||
def initialize(text, options = {})
|
def initialize(text, options = {})
|
||||||
@content_type = options.delete(:content_type)
|
@content_type = options.delete(:content_type)
|
||||||
super(text, options)
|
super
|
||||||
|
|
||||||
@text = format_markdown(text) if content_type == 'text/markdown'
|
@text = format_markdown(text) if content_type == 'text/markdown'
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ module ActiveRecord
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
super(direction, migrations, schema_migration, internal_metadata, target_version)
|
super
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user