Rust: fix log string

This commit is contained in:
Paolo Tranquilli 2025-02-20 17:38:35 +01:00
parent 1a529366ac
commit 9572e09da4
3 changed files with 3 additions and 3 deletions

2
lib/init-action.js generated
View file

@ -358,7 +358,7 @@ async function run() {
core.exportVariable(envVar, "true");
}
if (process.env[envVar] !== "true") {
throw new util_1.ConfigurationError(`Experimental and not officially supported Rust analysis requires setting {envVar}=true in the environment`);
throw new util_1.ConfigurationError(`Experimental and not officially supported Rust analysis requires setting ${envVar}=true in the environment`);
}
const actualVer = (await codeql.getVersion()).version;
if (semver.lt(actualVer, minVer)) {

File diff suppressed because one or more lines are too long

View file

@ -590,7 +590,7 @@ async function run() {
}
if (process.env[envVar] !== "true") {
throw new ConfigurationError(
`Experimental and not officially supported Rust analysis requires setting {envVar}=true in the environment`,
`Experimental and not officially supported Rust analysis requires setting ${envVar}=true in the environment`,
);
}
const actualVer = (await codeql.getVersion()).version;