Improve error message

This commit is contained in:
Henry Mercer 2022-10-31 14:19:04 +00:00
parent 13cb2ca824
commit a3141c7a07
3 changed files with 5 additions and 5 deletions

4
lib/codeql.js generated
View file

@ -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. " +
`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 " +
"alternatively use glibc 2.33 or earlier, for instance by running your workflow on " +
`the "ubuntu-20.04" runner image.`);
`alternatively run your workflow on another runner image such as "ubuntu-20.04" ` +
"that has glibc 2.33 or earlier installed.");
}
else {
throw e;