From 1b604f57dc07e7e0675926fece8c9fa4078fa2d3 Mon Sep 17 00:00:00 2001 From: Alexey Nikitin Date: Mon, 24 Jun 2024 10:46:48 +0300 Subject: [PATCH] Fix vm.args.eex generated file when `remote?` is false (#13688) before ``` -start_epmd false -erl_epmd_port 6789false ``` after ``` -start_epmd false -erl_epmd_port 6789 ``` --- lib/mix/lib/mix/tasks/release.init.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mix/lib/mix/tasks/release.init.ex b/lib/mix/lib/mix/tasks/release.init.ex index f646dfe006e..d0df7f22c54 100644 --- a/lib/mix/lib/mix/tasks/release.init.ex +++ b/lib/mix/lib/mix/tasks/release.init.ex @@ -53,7 +53,7 @@ defmodule Mix.Tasks.Release.Init do ## Enable deployment without epmd ## (requires changing both vm.args and remote.vm.args) - ##-start_epmd false -erl_epmd_port 6789#{remote? && " -dist_listen false"} + ##-start_epmd false -erl_epmd_port 6789#{if(remote?, do: " -dist_listen false")} """ @doc false