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

Improve Graphviz support detection #274

Merged
merged 1 commit into from
Mar 15, 2021

Conversation

customcommander
Copy link
Contributor

Previous implementation was assuming that an error was always caused by
the Graphviz binary not available in the path.

However an error can also be thrown when Graphviz is missing
an external dependencies for example.

As far as I know ENOENT stands for a no entry error which
indicates that something wasn't found. In this case it should
be safe to assume that Graphviz isn't available in the path.

See: https://stackoverflow.com/q/66602685/1244884

Previous implementation was assuming that an error was always caused by
the Graphviz binary not available in the path.

However an error can also be thrown when Graphviz is missing
an external dependencies for example.

As far as I know ENOENT stands for a no entry error which
indicates that something wasn't found. In this case it should
be safe to assume that Graphviz isn't available in the path.

See: https://stackoverflow.com/q/66602685/1244884
@pahen pahen merged commit 4b9d36c into pahen:master Mar 15, 2021
@pahen
Copy link
Owner

pahen commented Mar 15, 2021

Thanks for your contribution!

@customcommander customcommander deleted the improve-graphviz-detection branch March 15, 2021 20:52
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 this pull request may close these issues.

2 participants