Skip to content

Commit

Permalink
rubocop exclusion for collect_data
Browse files Browse the repository at this point in the history
  • Loading branch information
bmos committed Feb 28, 2024
1 parent 7382ef5 commit 17d6ff7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/jekyll_planet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def populate_author_contacts(data, item)
end
end

# rubocop:disable Metrics/AbcSize
def collect_data(item)
data = {
'title' => item.title.empty? ? nil : item.title.gsub('"', '\"'),
Expand All @@ -85,6 +86,7 @@ def collect_data(item)

data
end
# rubocop:enable Metrics/AbcSize

def parameters_for_file_name(item)
if item.title.parameterize == ''
Expand Down

0 comments on commit 17d6ff7

Please sign in to comment.