Software / code / prosody
Comparison
util/interpolation.lua @ 13483:7b070909bd15
prosodyctl shell: Fix invocation with 3+ command arguments
The code correctly inserted the ',' when there was already a "%q" in the
format string, but then the next argument would fail to match because it
inserted ", %q" instead of "%q". The code now matches both, ensuring the
generated code will not produce a syntax error with multiple arguments.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 24 Apr 2024 11:45:37 +0100 |
| parent | 11307:f2e276bb4ef8 |
comparison
equal
deleted
inserted
replaced
| 13482:4d697961546d | 13483:7b070909bd15 |
|---|