Skip to content

Commit

Permalink
style: fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Sep 13, 2024
1 parent 09ebd29 commit f4c06e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rubocop/markdown/rubocop_ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def file_finished(file, offenses)
RuboCop::Markdown::Preprocess.restore_and_save!(file)
end

super(file, offenses)
super
end
end)

Expand Down Expand Up @@ -99,6 +99,6 @@ def parse(src, *args)
# only process Markdown files
src = RuboCop::Markdown::Preprocess.new(path).call(src) if
path && RuboCop::Markdown.markdown_file?(path)
super(src, *args)
super
end
end)

0 comments on commit f4c06e1

Please sign in to comment.