KevinMarquette / PSGraph

A set of utilities for working with Graphviz in Powershell
MIT License
205 stars 49 forks source link

Error message more meaningfull for linux systems when graphviz is not found #86

Closed Stephanevg closed 5 years ago

Stephanevg commented 5 years ago

Hi, this is not much, but I had to dig to get this information:

I simply added the listing of the paths where dot is searched for in case it is not found. I realized that one path was missing in the searching order, but only once I had read through your code.

Also, it was mentionning 'Program Files' as a location in the first version of the error message, which is not a place on a linux system.

For issue: https://github.com/KevinMarquette/PSGraph/issues/85