From 040a3bffcb75973c492f9a3d6cf557dcce898cd8 Mon Sep 17 00:00:00 2001 From: wyunchi-ms Date: Mon, 31 May 2021 17:33:25 +0800 Subject: [PATCH] Fix the issue that static analysis cannot find SupportsShouldProcess in cmdlet --- tools/ModuleMetadata/GetModuleMetadata.psm1 | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/ModuleMetadata/GetModuleMetadata.psm1 b/tools/ModuleMetadata/GetModuleMetadata.psm1 index 07f13705b666..0f9d4568a873 100644 --- a/tools/ModuleMetadata/GetModuleMetadata.psm1 +++ b/tools/ModuleMetadata/GetModuleMetadata.psm1 @@ -38,7 +38,6 @@ function Get-CmdletBindingPropertyValue } return $null } - return $null } } elseif ($Cmdlet.CommandType -eq 'Cmdlet')