Skip to content

Commit

Permalink
do not quote colons in CLI printer
Browse files Browse the repository at this point in the history
  • Loading branch information
breunigs committed Dec 12, 2024
1 parent 56774b0 commit 8c05ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/generic.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8c05ed5

Please sign in to comment.