Skip to content

Commit 7ffacb0

Browse files
cmotsnarturcic
authored andcommitted
#2986 Quote merge-message-formats example in doc
This avoids throwing the following error when using the documentation example: `YamlDotNet.Core.SemanticErrorException: While scanning a plain scalar value, found invalid mapping.`
1 parent 336ecdf commit 7ffacb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/input/docs/reference/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ e.g.
258258

259259
```yaml
260260
merge-message-formats:
261-
tfs: ^Merged (?:PR (?<PullRequestNumber>\d+)): Merge (?<SourceBranch>.+) to (?<TargetBranch>.+)
261+
tfs: '^Merged (?:PR (?<PullRequestNumber>\d+)): Merge (?<SourceBranch>.+) to (?<TargetBranch>.+)'
262262
```
263263

264264
The regular expression should contain the following capture groups:

0 commit comments

Comments
 (0)