forked from pub-solar/os
modules/invoiceplane: cherry-pick changes from nixpkgs
This commit is contained in:
parent
23b2009c29
commit
2afe36eacb
|
@ -68,7 +68,7 @@ let
|
||||||
if isString v then
|
if isString v then
|
||||||
escapeShellArg v
|
escapeShellArg v
|
||||||
# NOTE: If any value contains a , (comma) this will not get escaped
|
# NOTE: If any value contains a , (comma) this will not get escaped
|
||||||
else if isList v && any lib.strings.isCoercibleToString v then
|
else if isList v && lib.strings.isConvertibleWithToString v then
|
||||||
escapeShellArg (concatMapStringsSep "," toString v)
|
escapeShellArg (concatMapStringsSep "," toString v)
|
||||||
else if isInt v then
|
else if isInt v then
|
||||||
toString v
|
toString v
|
||||||
|
|
Loading…
Reference in a new issue