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
Moshen, have you started the rewrite? I just made a kludgy fix for one of the bugs I was encountering. It occurred to me the biggest issue is you are not modifying the AST, but instead are modifying the YAML directly, and not updating the AST pointers as text is added and removed. This causes offset issues into the YAML source. Add on top of it the NPM packages you are tied too are outdated and you are using deprecated NPM mechanisms. A rewrite will be a multi-day effort and is probably best done using yaml-ast-parser from Mulesoft. Even that isn't ideal but it will give you a good starting point. If you are going to do a rewrite, I will assist. Let me know.
The yaml will contain duplicate comment when converting the parsed document by "toString"
Example:
After converting to document and toString
The text was updated successfully, but these errors were encountered: