Classify autobuild errors as configuration errors
This commit is contained in:
parent
44534b787f
commit
b516521723
6 changed files with 18 additions and 6 deletions
|
|
@ -906,7 +906,7 @@ test("runTool summarizes autobuilder errors", async (t) => {
|
|||
await t.throwsAsync(
|
||||
async () => await codeqlObject.runAutobuild(stubConfig, Language.java),
|
||||
{
|
||||
instanceOf: CommandInvocationError,
|
||||
instanceOf: util.ConfigurationError,
|
||||
message:
|
||||
"We were unable to automatically build your code. Please provide manual build steps. " +
|
||||
"For more information, see " +
|
||||
|
|
@ -934,7 +934,7 @@ test("runTool truncates long autobuilder errors", async (t) => {
|
|||
await t.throwsAsync(
|
||||
async () => await codeqlObject.runAutobuild(stubConfig, Language.java),
|
||||
{
|
||||
instanceOf: CommandInvocationError,
|
||||
instanceOf: util.ConfigurationError,
|
||||
message:
|
||||
"We were unable to automatically build your code. Please provide manual build steps. " +
|
||||
"For more information, see " +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue