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
The problem is caused by the auto detection of ini. The parser parses anything that starts with { as JSON and anything else as ini. My PR (#85) will actually fix that.
Even if you think of that as an error, parsing it as ini is definitely the wrong response. Maybe you could just error if the first char is [ and it is on its own line?
My
.rc
file contains a valid JSON starting with a square bracket:And rc outputs the following:
I tested the
strip-json-comments
module and it's not causing this problem. I guess it's because rc tries to merge the JSON with the defaults.The text was updated successfully, but these errors were encountered: