Change overriding log message to make default version more explicit.

This commit is contained in:
Fotis Koutoulakis (@NlightNFotis) 2024-05-09 14:40:32 +01:00 committed by Fotis Koutoulakis
parent c92bbd4223
commit 998a4c720d
3 changed files with 5 additions and 3 deletions

3
lib/setup-codeql.js generated
View file

@ -246,7 +246,8 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian
const forceShippedTools = toolsInput && CODEQL_BUNDLE_VERSION_ALIAS.includes(toolsInput);
if (forceShippedTools) {
logger.info("Overriding the version of the CodeQL tools by the version shipped with the Action since " +
`"tools: linked" or "tools: latest" was requested.`);
`"tools: linked" or "tools: latest" was requested. The version shipped with the Action is ` +
`${defaultCliVersion.cliVersion}.`);
}
/** CLI version number, for example 2.12.6. */
let cliVersion;

File diff suppressed because one or more lines are too long

View file

@ -311,7 +311,8 @@ export async function getCodeQLSource(
if (forceShippedTools) {
logger.info(
"Overriding the version of the CodeQL tools by the version shipped with the Action since " +
`"tools: linked" or "tools: latest" was requested.`,
`"tools: linked" or "tools: latest" was requested. The version shipped with the Action is ` +
`${defaultCliVersion.cliVersion}.`,
);
}