Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/ruby-beautify.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def pretty_string(content, indent_token: "\t", indent_count: 1)
end

# print our line, in place.
line_string = line_lex.map {|l| l.last}.join
line_string = line_lex.map {|l| l[2]}.join
output_string += indented_line(indent_level, indent_token, indent_count, line_string)

# oh, we opened something did we? lets indent for the next run.
Expand Down