Skip to content

Commit

Permalink
use debug?.to_json to convert logger to a boolean and send to browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorian Marié authored and triskweline committed Dec 22, 2023
1 parent a6172e2 commit 056a4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capybara-lockstep/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def debug=(value)
end

send_config_to_browser(<<~JS)
CapybaraLockstep.debug = #{value.to_json}
CapybaraLockstep.debug = #{debug?.to_json}
JS

@debug
Expand Down

0 comments on commit 056a4ab

Please sign in to comment.