8000 Remove the `ref` folder before running compliance (#20373) · PowerShell/PowerShell@f3980b7 · GitHub
[go: up one dir, main page]

Skip to content

Commit f3980b7

Browse files
adityapatwardhandaxian-dbw
authored andcommitted
Remove the ref folder before running compliance (#20373)
1 parent 4a79b04 commit f3980b7

File tree

1 file changed

+5
-0
lines changed
  • tools/releaseBuild/azureDevOps/templates/compliance

1 file changed

+5
-0
lines changed

tools/releaseBuild/azureDevOps/templates/compliance/apiscan.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ jobs:
5959
6060
$OutputFolder = Split-Path (Get-PSOutput)
6161
Write-Host "##vso[task.setvariable variable=BinDir]$OutputFolder"
62+
63+
Write-Verbose -Verbose -Message "Deleting ref folder from output folder"
64+
if (Test-Path $OutputFolder/ref) {
65+
Remove-Item -Recurse -Force $OutputFolder/ref
66+
}
6267
workingDirectory: '$(Build.SourcesDirectory)'
6368
displayName: 'Build PowerShell Source'
6469

0 commit comments

Comments
 (0)
0