Skip to content

Commit

Permalink
refactor: remove useless assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
kzkn committed Jan 8, 2025
1 parent 09fe5e3 commit 599834a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rufo/formatter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2713,7 +2713,7 @@ def visit_literal_elements(elements, inside_hash: false, inside_array: false, to
base_column = @column
base_line = @line
needs_final_space = (inside_hash || inside_array) && space?
first_space = skip_space
skip_space

if inside_hash
needs_final_space = false
Expand Down

0 comments on commit 599834a

Please sign in to comment.