zhuhaow / SpechtLite

A rule-based proxy for macOS
GNU General Public License v3.0
2.94k stars 376 forks source link

The yaml parser is too strict #75

Open qiuwei opened 6 years ago

qiuwei commented 6 years ago

Arrays without indent cannot be parsed correctly

For example

adapter:
- id: adapter1
   host: blabla
- id: adapter2
   host: blabla

cannot be parsed correctly.

zhuhaow commented 6 years ago

Make sure the indent of host is correct.

And current YAML parser may be not a standard one, I guess.