Skip to content

Commit 2e92e2c

Browse files
committed
fix pathing which for some reason never failed before
1 parent 942e24d commit 2e92e2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/matrix_testing/CreateMatrixTestReport.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ $jobRows = $queriesToCheck | ForEach-Object -ThrottleLimit $NumThreads -Parallel
375375
$qlRefFile = Join-Path $rulePath "$CurrentQueryName.qlref"
376376
}
377377

378-
Write-Host "codeql test run $qlRefFile --search-path ../../../../../../ --dataset=`"$datasetRelPath`""
378+
Write-Host "codeql test run $qlRefFile --search-path . --dataset=`"$datasetRelPath`""
379379

380380
$stdOut = Join-Path ([System.IO.Path]::GetTempPath()) ([System.Guid]::NewGuid())
381381
$stdErr = Join-Path ([System.IO.Path]::GetTempPath()) ([System.Guid]::NewGuid())
@@ -384,7 +384,7 @@ $jobRows = $queriesToCheck | ForEach-Object -ThrottleLimit $NumThreads -Parallel
384384
Write-Host "Standard Out Buffered to: $stdOut"
385385
Write-Host "Standard Error Buffered to: $stdErr"
386386

387-
$procDetails = Start-Process -FilePath "codeql" -PassThru -NoNewWindow -Wait -ArgumentList "test run $qlRefFile --search-path ../../../../ --dataset=`"$datasetRelPath`"" -RedirectStandardOutput $stdOut -RedirectStandardError $stdErr
387+
$procDetails = Start-Process -FilePath "codeql" -PassThru -NoNewWindow -Wait -ArgumentList "test run $qlRefFile --search-path . --dataset=`"$datasetRelPath`"" -RedirectStandardOutput $stdOut -RedirectStandardError $stdErr
388388

389389
if (-Not $procDetails.ExitCode -eq 0) {
390390

0 commit comments

Comments
 (0)