Skip to content
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

[Feature request/minor bug] Allow mermaid-filter to work with Bun? #113

Open
Starwort opened this issue Nov 14, 2023 · 1 comment
Open

Comments

@Starwort
Copy link

I installed mermaid-filter with Bun rather than NPM (because NPM doesn't like actually working half the time), but now when I try to use mermaid-filter it cannot find mmdc, despite mmdc being in $PATH. Could you please add support for either lookup in $PATH or in specifically ~/.bun/bin?

@Starwort
Copy link
Author

From the looks of it, this should be as simple as modifying externalTool() to also check in the same directory as mermaid-filter (or in ../bin if you prefer); this line already checks for ../.bin and could be copied down to check for ../bin as well

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

No branches or pull requests

1 participant