Change overriding log message to make default version more explicit.
This commit is contained in:
parent
c92bbd4223
commit
998a4c720d
3 changed files with 5 additions and 3 deletions
3
lib/setup-codeql.js
generated
3
lib/setup-codeql.js
generated
|
|
@ -246,7 +246,8 @@ async function getCodeQLSource(toolsInput, defaultCliVersion, apiDetails, varian
|
||||||
const forceShippedTools = toolsInput && CODEQL_BUNDLE_VERSION_ALIAS.includes(toolsInput);
|
const forceShippedTools = toolsInput && CODEQL_BUNDLE_VERSION_ALIAS.includes(toolsInput);
|
||||||
if (forceShippedTools) {
|
if (forceShippedTools) {
|
||||||
logger.info("Overriding the version of the CodeQL tools by the version shipped with the Action since " +
|
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. */
|
/** CLI version number, for example 2.12.6. */
|
||||||
let cliVersion;
|
let cliVersion;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -311,7 +311,8 @@ export async function getCodeQLSource(
|
||||||
if (forceShippedTools) {
|
if (forceShippedTools) {
|
||||||
logger.info(
|
logger.info(
|
||||||
"Overriding the version of the CodeQL tools by the version shipped with the Action since " +
|
"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}.`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue