From 2bf076df495af9f1c1e2af49b4b2101ee4471eff Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Tue, 13 May 2025 18:58:26 +0100 Subject: [PATCH] PS: Also include the downgrade scripts when building the PowerShell extractor and injecting it into the CLI. --- powershell/build.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/powershell/build.ps1 b/powershell/build.ps1 index a72daa1ed7c..4c955958faa 100644 --- a/powershell/build.ps1 +++ b/powershell/build.ps1 @@ -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