PS: Also include the downgrade scripts when building the PowerShell extractor and injecting it into the CLI.

This commit is contained in:
Mathias Vorreiter Pedersen
2025-05-13 18:58:26 +01:00
parent 07d723291b
commit 2bf076df49

View File

@@ -11,6 +11,7 @@ if ($LASTEXITCODE -ne 0) {
$powershellFolder = Join-Path -Path $cliFolder -ChildPath "powershell"
Copy-Item -Path "$PSScriptRoot/codeql-extractor.yml" -Destination $powershellFolder -Force
Copy-Item -Path "$PSScriptRoot/downgrades" -Destination $powershellFolder -Recurse -Force
$qlLibFolder = Join-Path -Path "$PSScriptRoot/ql" -ChildPath "lib"
Copy-Item -Path (Join-Path $qlLibFolder "semmlecode.powershell.dbscheme") -Destination $powershellFolder -Force
Copy-Item -Path (Join-Path $qlLibFolder "semmlecode.powershell.dbscheme.stats") -Destination $powershellFolder -Force