Merge branch 'main' into henrymercer/zstd-experiment
This commit is contained in:
commit
20bd6feb0b
3 changed files with 3 additions and 10 deletions
|
|
@ -709,11 +709,7 @@ export async function getCodeQLForCmd(
|
|||
"We were unable to automatically build your code. " +
|
||||
"Please change the build mode for this language to manual and specify build steps " +
|
||||
`for your project. See ${DocUrl.AUTOMATIC_BUILD_FAILED} for more information.`;
|
||||
const ErrorConstructor =
|
||||
e instanceof util.ConfigurationError
|
||||
? util.ConfigurationError
|
||||
: Error;
|
||||
throw new ErrorConstructor(`${prefix} ${getErrorMessage(e)}`);
|
||||
throw new util.ConfigurationError(`${prefix} ${getErrorMessage(e)}`);
|
||||
} else {
|
||||
throw e;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue