mirror of
1
0
Fork 0

Mention in readme that ~ is null in YAML

This is a weird YAML gotcha, and it seems worth mentioning in the readme
since Dotbot users are likely to run into it.
This commit is contained in:
Casey Rodarmor 2016-11-18 15:59:55 -08:00 committed by Anish Athalye
parent b482cbda58
commit 54346fa942
1 changed files with 3 additions and 0 deletions

View File

@ -151,6 +151,9 @@ do not have a defined ordering.
When writing nested constructs, keep in mind that YAML is whitespace-sensitive.
Following the formatting used in the examples is a good idea.
Also, note that `~` in YAML is the same as `null` in JSON. If you want a single
character string containing a tilde, make sure to enclose it in quotes: `'~'`
### Link
Link commands specify how files and directories should be symbolically linked.