mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Fix reference assembly generation logic for Microsoft.PowerShell.Commands.Utility (#18818)
This commit is contained in:
1 parent
b11554121e
commit
bbb03f350b
2 files changed
+10
-1
No files matched your search
@@ -71,6 +71,14 @@ jobs:
|
||||
displayName: SBOM
|
||||
sourceScanPath: '$(repoPath)\tools'
|
||||
|
||||
# This is needed as SBOM task removed the installed .NET and installs .NET 3.1
|
||||
- pwsh: |
|
||||
Import-Module .\tools\ci.psm1
|
||||
Invoke-CIInstall -SkipUser
|
||||
displayName: Bootstrap
|
||||
condition: succeeded()
|
||||
workingDirectory: $(repoPath)
|
||||
|
||||
- pwsh: |
|
||||
Import-Module .\tools\ci.psm1
|
||||
New-CodeCoverageAndTestPackage
|
||||
|
||||
@@ -2574,7 +2574,8 @@ function CleanupGeneratedSourceCode
|
||||
'[Microsoft.PowerShell.Commands.HttpVersionCompletionsAttribute]'
|
||||
'[System.Management.Automation.ArgumentToVersionTransformationAttribute]'
|
||||
'[Microsoft.PowerShell.Commands.InvokeCommandCommand.ArgumentToPSVersionTransformationAttribute]'
|
||||
'[Microsoft.PowerShell.Commands.InvokeCommandCommand.ValidateVersionAttribute]'
|
||||
'[Microsoft.PowerShell.Commands.InvokeCommandCommand.ValidateVersionAttribute]',
|
||||
'[System.Management.Automation.OutputTypeAttribute(new System.Type[]{ typeof(Microsoft.PowerShell.Commands.Internal.Format.FormatStartData), typeof(Microsoft.PowerShell.Commands.Internal.Format.FormatEntryData), typeof(Microsoft.PowerShell.Commands.Internal.Format.FormatEndData), typeof(Microsoft.PowerShell.Commands.Internal.Format.GroupStartData), typeof(Microsoft.PowerShell.Commands.Internal.Format.GroupEndData)})]'
|
||||
)
|
||||
|
||||
$patternsToReplace = @(
|
||||
|
||||
Reference in new issue
Block a user