Fixes external dependencies in updated module manifest files #7
@ -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 $_
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user