From 5a7d2f8eb2492ff366db45fef704b7c6b65c2686 Mon Sep 17 00:00:00 2001 From: Richard Carlsson Date: Thu, 12 Dec 2024 11:19:42 +0100 Subject: [PATCH] Fix copy/paste error Getter `optional_applications` returned wrong field. Fixes #934 --- src/rlx_app_info.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rlx_app_info.erl b/src/rlx_app_info.erl index 0ac20c1d4..46d781313 100644 --- a/src/rlx_app_info.erl +++ b/src/rlx_app_info.erl @@ -120,7 +120,7 @@ included_applications(#{included_applications := Deps}) -> Deps. -spec optional_applications(t()) -> [atom()]. -optional_applications(#{included_applications := Deps}) -> +optional_applications(#{optional_applications := Deps}) -> Deps. -spec link(t()) -> boolean().