settings: use correct syntax for default values containing "\n" in settings.json.template

79406051fa added support for including an escaped "\n" in the default value of
an interpolated setting, but the example in `settings.json.template` and
`settings.json.docker` contained a slight syntax error. This fixes it.

No functional changes.
This commit is contained in:
muxator 2025-04-07 10:44:19 +02:00 committed by SamTV12345
parent 49d2860b1e
commit b6bdbe1a2a
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@
* 3) if you want to use newlines in the default value of a string parameter, * 3) if you want to use newlines in the default value of a string parameter,
* use "\n" as usual. * use "\n" as usual.
* *
* "defaultPadText" : "${DEFAULT_PAD_TEXT}Line 1\nLine 2" * "defaultPadText" : "${DEFAULT_PAD_TEXT:Line 1\nLine 2}"
*/ */
{ {
/* /*

View file

@ -87,7 +87,7 @@
* 3) if you want to use newlines in the default value of a string parameter, * 3) if you want to use newlines in the default value of a string parameter,
* use "\n" as usual. * use "\n" as usual.
* *
* "defaultPadText" : "${DEFAULT_PAD_TEXT}Line 1\nLine 2" * "defaultPadText" : "${DEFAULT_PAD_TEXT:Line 1\nLine 2}"
*/ */
{ {
/* /*