You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wish something could at least be logged when this happens 🙁 I just was trying to convert a bunch of long double-quoted strings to literal format so they're easier to read as a human, and it was working on some but silently not changing others! I finally ended up searching "style literal" in this repo's Github issues to stumble upon this and I'm pretty sure this is the reason. About to test...
Describe the bug
When styling strings as literals that have whitespace preceding newlines, the styling fails.
Version of yq: 4.44.3
Operating system: linux
Installed via: binary
Input Yaml
test.yml:
Command
Actual behavior
Expected behavior
Additional context
Work-around is to strip whitespace before newlines:
Result:
The text was updated successfully, but these errors were encountered: