wip
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
OCram85 2022-07-27 13:04:31 +02:00
parent c0a8334d46
commit c1513dc5c5

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 $_
}
}