Improve error message
This commit is contained in:
parent
13cb2ca824
commit
a3141c7a07
3 changed files with 5 additions and 5 deletions
4
lib/codeql.js
generated
4
lib/codeql.js
generated
|
|
@ -492,8 +492,8 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||||
throw new util.UserError("The CodeQL CLI is incompatible with the version of glibc on your system. " +
|
throw new util.UserError("The CodeQL CLI is incompatible with the version of glibc on your system. " +
|
||||||
`Please upgrade to CodeQL CLI version ${exports.CODEQL_VERSION_TRACING_GLIBC_2_34} or ` +
|
`Please upgrade to CodeQL CLI version ${exports.CODEQL_VERSION_TRACING_GLIBC_2_34} or ` +
|
||||||
"later. If you cannot upgrade to a newer version of the CodeQL CLI, you can " +
|
"later. If you cannot upgrade to a newer version of the CodeQL CLI, you can " +
|
||||||
"alternatively use glibc 2.33 or earlier, for instance by running your workflow on " +
|
`alternatively run your workflow on another runner image such as "ubuntu-20.04" ` +
|
||||||
`the "ubuntu-20.04" runner image.`);
|
"that has glibc 2.33 or earlier installed.");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
throw e;
|
throw e;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -780,8 +780,8 @@ async function getCodeQLForCmd(
|
||||||
"The CodeQL CLI is incompatible with the version of glibc on your system. " +
|
"The CodeQL CLI is incompatible with the version of glibc on your system. " +
|
||||||
`Please upgrade to CodeQL CLI version ${CODEQL_VERSION_TRACING_GLIBC_2_34} or ` +
|
`Please upgrade to CodeQL CLI version ${CODEQL_VERSION_TRACING_GLIBC_2_34} or ` +
|
||||||
"later. If you cannot upgrade to a newer version of the CodeQL CLI, you can " +
|
"later. If you cannot upgrade to a newer version of the CodeQL CLI, you can " +
|
||||||
"alternatively use glibc 2.33 or earlier, for instance by running your workflow on " +
|
`alternatively run your workflow on another runner image such as "ubuntu-20.04" ` +
|
||||||
`the "ubuntu-20.04" runner image.`
|
"that has glibc 2.33 or earlier installed."
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
throw e;
|
throw e;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue