Skip to content

Commit 98d24e5

Browse files
committed
Address comments from PR
1 parent 8f19113 commit 98d24e5

5 files changed

Lines changed: 13 additions & 3 deletions

File tree

lib/codeql.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/config-utils.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/config-utils.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/codeql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ export const CODEQL_VERSION_BETTER_RESOLVE_LANGUAGES = "2.10.3";
291291
export const CODEQL_VERSION_SECURITY_EXPERIMENTAL_SUITE = "2.12.1";
292292

293293
/**
294-
* Versions 2.12.3+ of the CodeQL CLI support the `--qlconfig` flag in calls to `database init`.
294+
* Versions 2.12.4+ of the CodeQL CLI support the `--qlconfig` flag in calls to `database init`.
295295
*/
296296
export const CODEQL_VERSION_INIT_WITH_QLCONFIG = "2.12.4";
297297

src/config-utils.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1990,6 +1990,13 @@ export async function generateRegistries(
19901990
.map((registry) => `${registry.url}=${registry.token}`)
19911991
.join(",");
19921992
}
1993+
1994+
if (typeof process.env.CODEQL_REGISTRIES_AUTH === "string") {
1995+
logger.debug(
1996+
"Using CODEQL_REGISTRIES_AUTH environment variable to authenticate with registries."
1997+
);
1998+
}
1999+
19932000
return {
19942001
registriesAuthTokens:
19952002
// if the user has explicitly set the CODEQL_REGISTRIES_AUTH env var then use that

0 commit comments

Comments
 (0)