From 883631f5a6e164f34a576fb4b33c16348c940eeb Mon Sep 17 00:00:00 2001 From: Artem Solomatin Date: Sat, 30 Sep 2023 10:34:25 +0300 Subject: [PATCH] Add typespec for rel_templates_path (#12970) --- lib/mix/lib/mix/release.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/mix/lib/mix/release.ex b/lib/mix/lib/mix/release.ex index d2271b10cba..be395713e69 100644 --- a/lib/mix/lib/mix/release.ex +++ b/lib/mix/lib/mix/release.ex @@ -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