Skip to content

Commit

Permalink
Add typespec for rel_templates_path (#12970)
Browse files Browse the repository at this point in the history
  • Loading branch information
solar05 authored Sep 30, 2023
1 parent d89a2a4 commit 883631f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mix/lib/mix/release.ex
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,7 @@ defmodule Mix.Release do
@doc """
Finds a template path for the release.
"""
@spec rel_templates_path(t, Path.t()) :: binary
def rel_templates_path(release, path) do
Path.join(release.options[:rel_templates_path] || "rel", path)
end
Expand Down

0 comments on commit 883631f

Please sign in to comment.