netlify-files-module icon indicating copy to clipboard operation
netlify-files-module copied to clipboard

@iarna/toml strigify() adds underscores as a thousands separator

Open dsolanorush opened this issue 2 years ago • 0 comments

See known issue here: https://github.com/iarna/iarna-toml/issues/34

In short, when parsing numeric values over 4 digits @iarna/toml stringify method is adding an underscore character as the thousands separator. Example: 4000 becomes 4_000, which causes the generated netlify.toml to have invalid values for things like port numbers.

Is it possible to add some cleanup processing to remove underscores for numeric values?

dsolanorush avatar Mar 28 '23 20:03 dsolanorush