Closed seanmil closed 10 months ago
hey @seanmil this is great. Nice spot and simple fix! Could you rebase of main? Apologies, just merged another PR.
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
6891e66
) 70.90% compared to head (083865a
) 70.91%. Report is 3 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
A number of ERB templates use the code_maybe_block method to assist with formatting. This fails if the value being passed is not a string, such as an integer default value for a resource type.
Summary
Convert the value passed to code_maybe_block into a string before testing for
\n
with include?Checklist