Skip to content

Commit bfd0100

Browse files
committed
fix: go to top of if block
1 parent c9dba9f commit bfd0100

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/mix/tasks/ash_postgres.install.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ if Code.ensure_loaded?(Igniter) do
169169
"""
170170
if config_env() == :prod do
171171
__cursor__()
172-
173172
end
174173
""",
175174
"""
@@ -179,6 +178,8 @@ if Code.ensure_loaded?(Igniter) do
179178
"""
180179
]
181180

181+
zipper = zipper |> Sourceror.Zipper.up() |> Sourceror.Zipper.down()
182+
182183
zipper
183184
|> Igniter.Code.Common.move_to_cursor_match_in_scope(patterns)
184185
|> case do

0 commit comments

Comments
 (0)