Skip to content

Commit 479c495

Browse files
committed
improvement: direct users to format command for unless refactor
1 parent 7ff8dcd commit 479c495

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/mix/tasks/igniter.refactor.unless_to_if_not.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ defmodule Mix.Tasks.Igniter.Refactor.UnlessToIfNot do
2525
}
2626
end
2727

28-
def igniter(igniter) do
29-
Igniter.Refactors.Elixir.unless_to_if_not(igniter)
28+
def igniter(_igniter) do
29+
Mix.raise("use `mix format --migrate` instead")
3030
end
3131
end

0 commit comments

Comments
 (0)