Skip to content

Commit

Permalink
Incorrect variable naming
Browse files Browse the repository at this point in the history
  • Loading branch information
sammyd committed Oct 10, 2023
1 parent b6bb3ff commit 0eabe74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/lib/snapshotter/content_module_slides.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ def generate
lesson.segments.each do |segment|
next unless segment.is_a?(Video)

browser.goto("#{app_base}/slides/#{lesson.slug}/#{episode.slug}")
browser.screenshot(path: "#{out_dir}/#{lesson-ref}-#{episode.slug}.png", selector: '#slide-to-snapshot')
browser.goto("#{app_base}/slides/#{lesson.slug}/#{segment.slug}")
browser.screenshot(path: "#{out_dir}/#{lesson-ref}-#{segment.slug}.png", selector: '#slide-to-snapshot')
end
end
end
Expand Down

0 comments on commit 0eabe74

Please sign in to comment.