From d58dc73d8b63382fea6a3481a985d9ae43445dbd Mon Sep 17 00:00:00 2001 From: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com> Date: Mon, 31 May 2021 19:08:51 -0700 Subject: [PATCH] Fix the issue that static analysis cannot find SupportsShouldProcess in cmdlet (#15155) Co-authored-by: wyunchi-ms --- 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')