Skip to content

Commit

Permalink
fix: properly compose upgrade tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Nov 2, 2024
1 parent 929a23b commit 391a387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mix/tasks/igniter.upgrade.ex
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ defmodule Mix.Tasks.Igniter.Upgrade do

with task when not is_nil(task) <- Mix.Task.get(task),
true <- function_exported?(task, :info, 2) do
{:ok, task.igniter(igniter, [from, to] ++ igniter.args.argv_flags)}
{:ok, Igniter.compose_task(igniter, task, [from, to] ++ igniter.args.argv_flags)}
else
_ ->
{:missing, package}
Expand Down

0 comments on commit 391a387

Please sign in to comment.