RamblingCookieMonster / PSDepend

PowerShell Dependency Handler
MIT License
283 stars 76 forks source link

Add to PATH if we don't need to install #93

Open TylerLeonhardt opened 6 years ago

TylerLeonhardt commented 6 years ago

Previous logic wouldn't add 'dotnet' to the PATH if it didn't need to be installed (because it was already present).

This will ensure that the .NET SDK is added to the PATH every time you do: Invoke-PSDepend

PATH logic is fun...

cc @SeeminglyScience

TylerLeonhardt commented 6 years ago

rip - works outside of the tests 🙃 probably some magic path stuff. Digging...