From 8c05ed5ed28c39ecec9f372583b509edea402613 Mon Sep 17 00:00:00 2001 From: Stefan Breunig <307954+breunigs@users.noreply.github.com> Date: Thu, 12 Dec 2024 19:22:18 +0100 Subject: [PATCH] do not quote colons in CLI printer --- lib/util/generic.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/generic.ex b/lib/util/generic.ex index f89ab601..9687d2b7 100644 --- a/lib/util/generic.ex +++ b/lib/util/generic.ex @@ -256,7 +256,7 @@ defmodule Util do Enum.map_join(cmd, " ", fn arg -> arg = to_string(arg) - if String.match?(arg, ~r/^[a-zA-Z0-9_=.-]+$/) || arg == "|", + if String.match?(arg, ~r/^[a-zA-Z0-9_=.:-]+$/) || arg == "|", do: arg, else: "'#{String.replace(arg, ~s|'|, ~s|'"'"'|)}'" end)