Skip to content

Commit

Permalink
chore: fix dialyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Sep 23, 2024
1 parent 0351f52 commit 5642e0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/igniter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defmodule AshPostgres.Igniter do
use AshPostgres.Repo, otp_app: #{inspect(otp_app)}
def min_pg_version do
%Version{major: #{min_pg_version.major}, minor: #{min_pg_version.minor || 0}, patch: #{min_pg_version.patch || 0}}
%Version{major: #{min_pg_version.major}, minor: #{min_pg_version.minor}, patch: #{min_pg_version.patch}}
end
def installed_extensions do
Expand Down
2 changes: 1 addition & 1 deletion lib/mix/tasks/ash_postgres.install.ex
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ defmodule Mix.Tasks.AshPostgres.Install do
{:ok,
Igniter.Code.Common.add_code(zipper, """
def min_pg_version do
%Version{major: #{min_pg_version.major}, minor: #{min_pg_version.minor || 0}, patch: #{min_pg_version.patch || 0}}
%Version{major: #{min_pg_version.major}, minor: #{min_pg_version.minor}, patch: #{min_pg_version.patch}}
end
""")}
end
Expand Down

0 comments on commit 5642e0f

Please sign in to comment.