RamblingCookieMonster / BuildHelpers

Helper functions for PowerShell CI/CD scenarios
MIT License
214 stars 47 forks source link

Bugfix #113

Open peppekerstens opened 5 years ago

peppekerstens commented 5 years ago

see messages and conversation in both issues for details

peppekerstens commented 5 years ago

yup; saw it too. wrong typecasted. silly me

do not agree with GBVParams though; every function has it's own (but same!) default behavior for detection path.

    param(
        $Path = $PWD.Path,

So if no path is passed, effectively the same logic happens as before.

the whole

( Resolve-Path $Path ).Path

is mute when default behavior happens, so can be skipped