wip
This commit is contained in:
parent
c0a8334d46
commit
c1513dc5c5
@ -31,7 +31,10 @@ function Update-ModuleMeta {
|
|||||||
[Parameter(Mandatory = $false)]
|
[Parameter(Mandatory = $false)]
|
||||||
[ValidateScript(
|
[ValidateScript(
|
||||||
{
|
{
|
||||||
if (!(Test-Path -Path $_)) {
|
if (Test-Path -Path $_) {
|
||||||
|
return $true
|
||||||
|
}
|
||||||
|
else {
|
||||||
throw 'Could not find file: {0}' -f $_
|
throw 'Could not find file: {0}' -f $_
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user