typestate-rs icon indicating copy to clipboard operation
typestate-rs copied to clipboard

EXPORT_FOLDER path concatenation missing a separator.

Open andrew-otiv opened this issue 1 year ago • 1 comments

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.

andrew-otiv avatar Jun 22 '23 09:06 andrew-otiv

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.

jmg-duarte avatar Jun 22 '23 14:06 jmg-duarte