Closed koppor closed 5 days ago
Hi! Thank you for the interest in totosca
and sorry for the delayed reply
I was able to reproduce the bug by cloning the repository you provided:
The error message originates in the yaml-peg-rs crate here, so I reported the issue https://github.com/KmolYuan/yaml-peg-rs/issues/14
To fix your issue you can enable auto whitespace trimming (e.g. in vscode https://stackoverflow.com/questions/30884131/remove-trailing-spaces-automatically-or-with-a-shortcut)
@koppor, The issue should be resolved now. Feel free to reopen this issue if not
I am testing the tool with https://github.com/frankakn/cloud-native-deployment/tree/main/DeploymentOptions
I checked https://docs.oasis-open.org/tosca/TOSCA/v2.0/csd06/TOSCA-v2.0-csd06.html#71-node-type, and I think, this is valid YAML, but I am not a YAML expert.