It appears that, starting with 0.1.150 the input file is always being treated as JSON. My input file is yaml, and when passed into pretty-swag I get this:
Format: singleFile
MarkDown: Disable
Nav Bar: Fixed
Auto tags: Enable
Initial Collapse [Path: false, Method: false, Tool :true]
Theme: blue
No Credit
Error: SyntaxError: Unexpected token s in JSON at position 0
[ERROR] Command execution failed.
It appears that, starting with 0.1.150 the input file is always being treated as JSON. My input file is yaml, and when passed into pretty-swag I get this:
Format: singleFile MarkDown: Disable Nav Bar: Fixed Auto tags: Enable Initial Collapse [Path: false, Method: false, Tool :true] Theme: blue No Credit Error: SyntaxError: Unexpected token s in JSON at position 0 [ERROR] Command execution failed.
(note, that my yaml input file starts with 's')