Fixes external dependencies in updated module manifest files #7

Merged
OCram85 merged 12 commits from fixExtDeps into master 2022-07-27 14:27:45 +02:00
Showing only changes of commit c1513dc5c5 - Show all commits

View File

@ -31,7 +31,10 @@ function Update-ModuleMeta {
[Parameter(Mandatory = $false)]
[ValidateScript(
{
if (!(Test-Path -Path $_)) {
if (Test-Path -Path $_) {
return $true
}
else {
throw 'Could not find file: {0}' -f $_
}
}