mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-19 21:13:19 +12:00
Fix Elixir 1.17 warnings (#326)
This commit is contained in:
parent
555ea28e21
commit
a3a2905c68
2 changed files with 2 additions and 2 deletions
|
@ -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 ->
|
||||
|
|
|
@ -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 ->
|
||||
|
|
Loading…
Reference in a new issue