make resolution of tasks less flimsy
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/pr/woodpecker Pipeline is pending

This commit is contained in:
FloatingGhost 2022-08-16 23:56:30 +01:00
parent a07e282c4e
commit 49cca76b52

View file

@ -35,11 +35,11 @@ defp mix_task(task, args) do
end
end
defp task_match?(module_path, task) do
defp task_match?(["Mix", "Tasks", "Pleroma" | module_path], task) do
module_path
|> Enum.join(".")
|> String.downcase()
|> String.ends_with?(String.downcase(task))
|> String.equivalent?(String.downcase(task))
end
def migrate(args) do