Clarify description of registries input

This commit is contained in:
Andrew Eisenberg 2022-09-06 10:45:02 -07:00
parent bf97a6da5b
commit 376fea671d
6 changed files with 12 additions and 14 deletions

View file

@ -1139,7 +1139,7 @@ const calculateAugmentationErrorMacro = ava_1.default.macro({
t.deepEqual(configFile, expectedConfigFile);
// verify the env vars were set correctly
t.deepEqual(process.env.GITHUB_TOKEN, sampleApiDetails.auth);
t.deepEqual(process.env.CODEQL_REGISTRIES_AUTH, "http://ghcr.io=not-a-token,https://containers.GHEHOSTNAME1/v2/=still-a-token");
t.deepEqual(process.env.CODEQL_REGISTRIES_AUTH, "http://ghcr.io=not-a-token,https://containers.GHEHOSTNAME1/v2/=still-not-a-token");
// verify the config file contents were set correctly
const config = yaml.load(fs.readFileSync(configFile, "utf8"));
t.deepEqual(config.registries, registries.map((r) => ({ url: r.url, packages: r.packages })));

File diff suppressed because one or more lines are too long