typestate-rs
typestate-rs copied to clipboard
EXPORT_FOLDER path concatenation missing a separator.
Example: If you set EXPORT_FOLDER=foo/bar, the uml file will be generated at foo/barSomeStateMachine.uml
i.e. if this is string concatenation, the trailing slash is missing.
Temporary workaround: Make sure you include a trailing slash in the EXPORT_FOLDER environment variable.
This one was a conscious decision, I remember thinking something among the lines "it's a folder, use the /
" because I didn't have the time nor did it add a lot of value back then.