Skip to content

Windows: '--config' was specified but a .erdtree.toml file could not be found #217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
adam-frisby opened this issue Jul 1, 2023 · 1 comment · Fixed by #218
Closed

Comments

@adam-frisby
Copy link

I placed a .erdtree.toml file in %APPDATA%\erdtree, but erd does not seem to find it.

https://github.com/solidiquis/erdtree/blob/ccdb8184232468551e82eacc98857d3393a6d966/src/context/config/toml/mod.rs#L218C29-L218C41

Should that line read strip_suffix rather than strip_prefix?

@solidiquis
Copy link
Owner

solidiquis commented Jul 1, 2023

Damn.. yes it should be strip_suffix. Would you like to make a contribution or would you like me to fix it? Once it's merged in I'll make another patch release immediately! It is late for though so I wouldn't be able to get to it at least for the next 10 hours or so.

Edit: strip_suffix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants