Skip to content

Commit

Permalink
chore: fix rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosgz committed Nov 25, 2024
1 parent 05036de commit ac99085
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/site_maps/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def run
builder = SiteMaps::SitemapBuilder.new(
adapter: adapter,
location: process.location(**kwargs),
notification_payload: { process: process }
notification_payload: {process: process}
)
adapter.process_mixins.each { |mixin| builder.extend(mixin) }
process.call(builder, **kwargs)
Expand Down
4 changes: 2 additions & 2 deletions spec/site_maps/runner/event_listener_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

it "prints message" do
expect { call! }.to output(<<~MSG).to_stdout
[#{process.id}] Enqueue process #{colorize("categories", :bold)} at #{colorize("categories/sitemap.xml", :lightgray)}
[#{process.id}] Enqueue process #{colorize("categories", :bold)} at #{colorize("categories/sitemap.xml", :lightgray)}
MSG
end
end
Expand Down Expand Up @@ -201,7 +201,7 @@
links_count: 10,
news_count: 2,
url: "https://example.com/site/sitemap1.xml",
process: process,
process: process
}
end

Expand Down

0 comments on commit ac99085

Please sign in to comment.