Skip to content

Commit 0c60056

Browse files
authored
Fix build for new InvokeCommand attributes (PowerShell#16800)
1 parent ae38dad commit 0c60056

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/packaging/packaging.psm1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2337,6 +2337,8 @@ function CleanupGeneratedSourceCode
23372337
'[Microsoft.PowerShell.Commands.SetStrictModeCommand.ArgumentToPSVersionTransformationAttribute]'
23382338
'[Microsoft.PowerShell.Commands.HttpVersionCompletionsAttribute]'
23392339
'[System.Management.Automation.ArgumentToVersionTransformationAttribute]'
2340+
'[Microsoft.PowerShell.Commands.InvokeCommandCommand.ArgumentToPSVersionTransformationAttribute]'
2341+
'[Microsoft.PowerShell.Commands.InvokeCommandCommand.ValidateVersionAttribute]'
23402342
)
23412343

23422344
$patternsToReplace = @(

0 commit comments

Comments
 (0)