Skip to content

Commit e36ad16

Browse files
👕 Lint
1 parent 0963b97 commit e36ad16

File tree

3 files changed

+3
-60
lines changed

3 files changed

+3
-60
lines changed

lib/kitchen/directions/move_solutions_to_answer_key/move_solutions_from_numbered_note.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def bake(chapter:, append_to:, note_class:)
3232
class V2
3333
def bake(chapter:, append_to:, note_class:, numbering_options: {})
3434
return unless chapter.notes("$.#{note_class}").solutions.any?
35+
3536
numbering_options.reverse_merge!(mode: :chapter_page, separator: '.')
3637

3738
notes_title = <<~HTML

spec/kitchen_spec/directions/bake_chapter_section_exercises/main_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
options: {
1111
trash_title: false,
1212
create_title: true,
13-
numbering_options: { mode: :chapter_page, separator: '.' } })
13+
numbering_options: { mode: :chapter_page, separator: '.' }
14+
})
1415
described_class.v1(chapter: 'chapter1', options: {})
1516
end
1617
end

spec/snapshots/Kitchen_Directions_BakeNonIntroductionPages_when_unit_numbering_is_enabled_includes_unit_count_chapter_count_in_unit_and_page_count_in_chapter.snap

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)