Skip to content

Commit

Permalink
Appease RuboCop
Browse files Browse the repository at this point in the history
Fix the following errors pointed out by RuboCop:

Rakefile:27:5: C: [Corrected] Style/TrailingCommaInArguments: Put a comma after the last parameter of a multiline method call.
    with_toc_data: true
    ^^^^^^^^^^^^^^^^^^^
lib/html_proofer.rb:7:3: C: [Corrected] Style/TrailingCommaInArguments: Put a comma after the last parameter of a multiline method call.
  "html_proofer" => "HTMLProofer"
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  • Loading branch information
asbjornu committed Sep 22, 2022
1 parent 405e06c commit 0afe938
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ task :proof_readme do
require "redcarpet"

renderer = Redcarpet::Render::HTML.new(\
with_toc_data: true
with_toc_data: true,
)
redcarpet = Redcarpet::Markdown.new(renderer)
html = redcarpet.render(File.read("README.md"))
Expand Down
2 changes: 1 addition & 1 deletion lib/html_proofer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
lib_dir = File.join(File.dirname(__dir__), "lib")
gem_loader = Zeitwerk::Loader.for_gem
gem_loader.inflector.inflect(
"html_proofer" => "HTMLProofer"
"html_proofer" => "HTMLProofer",
)
gem_loader.ignore(File.join(lib_dir, "html-proofer.rb"))
gem_loader.setup
Expand Down

0 comments on commit 0afe938

Please sign in to comment.