Skip to content

Commit

Permalink
fix: fix match error in append_new_to_list
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Jun 28, 2024
1 parent ccb0984 commit 6151962
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/igniter/code/list.ex
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ defmodule Igniter.Code.List do
end)
|> case do
nil ->
zipper
|> Common.maybe_move_to_single_child_block()
|> Zipper.append_child(quoted)
append_to_list(zipper, quoted)

_ ->
zipper
Expand Down

0 comments on commit 6151962

Please sign in to comment.