Fix Elixir 1.17 warnings (#326)

This commit is contained in:
Jechol Lee 2024-06-14 08:54:22 +09:00 committed by GitHub
parent 555ea28e21
commit a3a2905c68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ defmodule Mix.Tasks.AshPostgres.Create do
repos =
AshPostgres.Mix.Helpers.repos!(opts, args)
|> Enum.filter(fn repo -> repo.create? end)
|> Enum.filter(fn repo -> repo.create?() end)
repo_args =
Enum.flat_map(repos, fn repo ->

View file

@ -46,7 +46,7 @@ defmodule Mix.Tasks.AshPostgres.Drop do
repos =
AshPostgres.Mix.Helpers.repos!(opts, args)
|> Enum.filter(fn repo -> repo.drop? end)
|> Enum.filter(fn repo -> repo.drop?() end)
repo_args =
Enum.flat_map(repos, fn repo ->