From fef84625166e33e682480c14106b69bf3ddb749c Mon Sep 17 00:00:00 2001 From: Paul Higinbotham Date: Tue, 25 Jan 2022 11:18:21 -0800 Subject: [PATCH] Fix build for new InvokeCommand attributes --- tools/packaging/packaging.psm1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/packaging/packaging.psm1 b/tools/packaging/packaging.psm1 index 39028c2673c..7b8c18b9e31 100644 --- a/tools/packaging/packaging.psm1 +++ b/tools/packaging/packaging.psm1 @@ -2337,6 +2337,8 @@ function CleanupGeneratedSourceCode '[Microsoft.PowerShell.Commands.SetStrictModeCommand.ArgumentToPSVersionTransformationAttribute]' '[Microsoft.PowerShell.Commands.HttpVersionCompletionsAttribute]' '[System.Management.Automation.ArgumentToVersionTransformationAttribute]' + '[Microsoft.PowerShell.Commands.InvokeCommandCommand.ArgumentToPSVersionTransformationAttribute]' + '[Microsoft.PowerShell.Commands.InvokeCommandCommand.ValidateVersionAttribute]' ) $patternsToReplace = @(