Skip to content

Commit

Permalink
add to_s
Browse files Browse the repository at this point in the history
  • Loading branch information
mfittko committed Nov 8, 2024
1 parent 892a6f7 commit 59b2d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdjson_formatter/rdjson_formatter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def build_suggestions(offense)
next if range.end_pos <= min_begin_pos || range.begin_pos >= max_end_pos

corrected_text += source_buffer.source[current_pos...range.begin_pos] if current_pos < range.begin_pos
corrected_text += replacement_text
corrected_text += replacement_text.to_s
current_pos = range.end_pos
end

Expand Down

0 comments on commit 59b2d79

Please sign in to comment.