Skip to content

Commit d5e1722

Browse files
Lint
1 parent 3abe672 commit d5e1722

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/kitchen/directions/bake_toc.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
module Kitchen
44
module Directions
5+
# rubocop:disable Metrics/ModuleLength
56
module BakeToc
67
def self.v1(book:, options: { cases: false })
78
options.reverse_merge!(
@@ -190,4 +191,5 @@ def self.li_for_page(page)
190191
end
191192
end
192193
end
194+
# rubocop:enable Metrics/ModuleLength
193195
end

lib/recipes/algebra-1/recipe.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
# )
9393
end
9494

95-
chapters_by_type.keys.each do |chapter_selection|
95+
chapters_by_type.each_key do |chapter_selection|
9696
numbering_options = chapter_numbering_options[chapter_selection]
9797
chapters = chapters_by_type[chapter_selection].call
9898
chapters.each do |chapter|

0 commit comments

Comments
 (0)