Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Commit 0ef82c7

Browse files
committed
Done error out when testing module manifest
1 parent 2f4ff13 commit 0ef82c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/OperationValidation/OperationValidation.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ param (
305305

306306
# Some OVF modules might not have a manifest (.psd1) file.
307307
if ($manifestFile) {
308-
$manifest = Test-ModuleManifest -Path $manifestFile.FullName -Verbose:$false
308+
$manifest = Test-ModuleManifest -Path $manifestFile.FullName -Verbose:$false -ErrorAction SilentlyContinue
309309
}
310310
else
311311
{

0 commit comments

Comments
 (0)