Rust: fix log string
This commit is contained in:
parent
1a529366ac
commit
9572e09da4
3 changed files with 3 additions and 3 deletions
2
lib/init-action.js
generated
2
lib/init-action.js
generated
|
|
@ -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
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue