Skip to content

Commit 029a382

Browse files
committed
update codeql version -- fix check
1 parent 0411421 commit 029a382

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

scripts/matrix_testing/CompileFixTool.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Write-Host -ForegroundColor ([ConsoleColor]2) "OK"
3737
$CODEQL_VERSION = (codeql version --format json | ConvertFrom-Json).version
3838

3939
Write-Host "Checking 'codeql' version = $REQUIRED_CODEQL_VERSION...." -NoNewline
40-
if (-Not $CODEQL_VERSION -eq $REQUIRED_CODEQL_VERSION) {
40+
if (-Not ($CODEQL_VERSION -eq $REQUIRED_CODEQL_VERSION)) {
4141
throw "Invalid CodeQL version $CODEQL_VERSION. Please install $REQUIRED_CODEQL_VERSION."
4242
}
4343
Write-Host -ForegroundColor ([ConsoleColor]2) "OK"

scripts/matrix_testing/Config.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $COMPILER_ARGS = @{
2727

2828
}
2929

30-
$REQUIRED_CODEQL_VERSION = "2.6.3"
30+
$REQUIRED_CODEQL_VERSION = "2.9.4"
3131

3232

3333
$REPORT_QUERY = @"

scripts/matrix_testing/CreateMatrixTestReport.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ Write-Host -ForegroundColor ([ConsoleColor]2) "OK"
262262
$CODEQL_VERSION = (codeql version --format json | ConvertFrom-Json).version
263263

264264
Write-Host "Checking 'codeql' version = $REQUIRED_CODEQL_VERSION...." -NoNewline
265-
if (-Not $CODEQL_VERSION -eq $REQUIRED_CODEQL_VERSION) {
265+
if (-Not ($CODEQL_VERSION -eq $REQUIRED_CODEQL_VERSION)) {
266266
throw "Invalid CodeQL version $CODEQL_VERSION. Please install $REQUIRED_CODEQL_VERSION."
267267
}
268268
Write-Host -ForegroundColor ([ConsoleColor]2) "OK"

0 commit comments

Comments
 (0)