Skip to content

Commit b6bdbe1

Browse files
muxatorSamTV12345
authored andcommitted
settings: use correct syntax for default values containing "\n" in settings.json.template
7940605 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.
1 parent 49d2860 commit b6bdbe1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

settings.json.docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
* 3) if you want to use newlines in the default value of a string parameter,
9797
* use "\n" as usual.
9898
*
99-
* "defaultPadText" : "${DEFAULT_PAD_TEXT}Line 1\nLine 2"
99+
* "defaultPadText" : "${DEFAULT_PAD_TEXT:Line 1\nLine 2}"
100100
*/
101101
{
102102
/*

settings.json.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
* 3) if you want to use newlines in the default value of a string parameter,
8888
* use "\n" as usual.
8989
*
90-
* "defaultPadText" : "${DEFAULT_PAD_TEXT}Line 1\nLine 2"
90+
* "defaultPadText" : "${DEFAULT_PAD_TEXT:Line 1\nLine 2}"
9191
*/
9292
{
9393
/*

0 commit comments

Comments
 (0)