From 7a3aefb08280d4ec3b27493d1a549a640e254dc2 Mon Sep 17 00:00:00 2001 From: zmstone Date: Sat, 10 Jan 2026 21:55:52 +0100 Subject: [PATCH] fix: ensure quote cookie atom --- src/hocon_cli.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hocon_cli.erl b/src/hocon_cli.erl index 1dccd67..6c07431 100644 --- a/src/hocon_cli.erl +++ b/src/hocon_cli.erl @@ -407,6 +407,8 @@ stringify(undefined) -> stringify(VMArgsProplist) -> [stringify_line(K, V) || {K, V} <- VMArgsProplist]. +stringify_line('-setcookie', V) -> + lists:flatten(["-setcookie ", io_lib:format("~0p", [list_to_atom(V)])]); stringify_line(K, V) when is_list(V) -> io_lib:format("~s ~s", [K, V]); stringify_line(K, V) ->