When using the > to parse multiple lines, the result is invalid, example:
File example:
NODE_CONFIG: >
CACHE:
READWRITE:
# Whether or not Memcache is disabled. If it is disabled, all of the commands will simply return null as if
# the key does not exist
disabled: false
# The list of hosts to connect to. Can be a string for a single host or an array for multiple hosts. If none
# provided, defaults to localhost
hosts:
- memcached:11211
LOG:
WINSTON:
TRANSPORTS:
- TYPE: Console
OPTIONS:
level: silly
name: console-log
handleExceptions: true
colorize: false
prettyPrint: true
timestamp: true
When using the
>
to parse multiple lines, the result is invalid, example:File example:
Result:
The correct result should be:
It's ignoring the first level breakline and only doing in the next nested levels.