Add tests for generateRegistries with an existing CODEQL_REGISTRIES_AUTH
This commit is contained in:
parent
3c81243bb1
commit
5492b7d104
8 changed files with 58 additions and 10 deletions
2
lib/config-utils.js
generated
2
lib/config-utils.js
generated
|
|
@ -1119,7 +1119,7 @@ async function generateRegistries(registriesInput, codeQL, tempDir, logger) {
|
|||
return {
|
||||
registriesAuthTokens:
|
||||
// if the user has explicitly set the CODEQL_REGISTRIES_AUTH env var then use that
|
||||
process.env["CODEQL_REGISTRIES_AUTH"] ?? registriesAuthTokens,
|
||||
process.env.CODEQL_REGISTRIES_AUTH ?? registriesAuthTokens,
|
||||
qlconfigFile,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue