mirror of
https://github.com/github/codeql-action.git
synced 2026-01-03 21:20:09 +08:00
Merge remote-tracking branch 'origin/main' into dbartol/use-real-actions-extractor
This commit is contained in:
@@ -377,7 +377,13 @@ export async function setupCodeQL(
|
||||
zstdAvailability,
|
||||
};
|
||||
} catch (e) {
|
||||
throw new Error(
|
||||
const ErrorClass =
|
||||
e instanceof util.ConfigurationError ||
|
||||
(e instanceof Error && e.message.includes("ENOSPC")) // out of disk space
|
||||
? util.ConfigurationError
|
||||
: Error;
|
||||
|
||||
throw new ErrorClass(
|
||||
`Unable to download and extract CodeQL CLI: ${getErrorMessage(e)}${
|
||||
e instanceof Error && e.stack ? `\n\nDetails: ${e.stack}` : ""
|
||||
}`,
|
||||
|
||||
Reference in New Issue
Block a user