fix(line-length): Wrap token scanning securely
With `allow-non-breakable-inline-mappings` enabled, every long line is passed through `loader.peek_token()`. Even lines that are not valid YAML. For this reason, this code must be wrapped in a `try`/`except` block. Closes: #21pull/22/head
parent
9b72a2d29a
commit
f656cf42d2
Loading…
Reference in New Issue