Skip to content

Commit 6b34430

Browse files
committed
Log versions if there are some
1 parent 34f75b5 commit 6b34430

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎pr-checks/toolcache.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ function hasCodeQLInToolcache(expectedNumber?: string) {
4545
: undefined;
4646

4747
const allCodeqlVersions = findCodeQL();
48-
core.info(`Found CodeQL versions: ${allCodeqlVersions}`);
49-
5048
if (allCodeqlVersions.length === 0) {
5149
throw new Error("CodeQL not found in toolcache");
5250
}
51+
52+
core.info(`Found CodeQL versions: ${allCodeqlVersions.join(", ")}`);
5353
if (expected !== undefined && allCodeqlVersions.length !== expected) {
5454
throw new Error(
5555
`Expected ${expected} versions of CodeQL in the toolcache, but found ${allCodeqlVersions.length}`,

0 commit comments

Comments
 (0)