google / yamlfmt

An extensible command line tool or library to format yaml files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Backslashes are stripped away on format

braydonk opened this issue · comments

When a backslash is used in a value, yamlfmt basic formatter will strip it away.

Before:

a: \*

After:

b: *

I think the environment I was testing in used an old version of yamlfmt. Latest version does not have this bug.