Add streaming API for zstd extraction

This commit is contained in:
Henry Mercer 2024-10-09 18:52:58 +01:00
parent 5b6984ee4d
commit cd83b08c78
6 changed files with 80 additions and 47 deletions

View file

@ -10,7 +10,7 @@ import { ConfigurationError } from "./util";
* An error from a CodeQL CLI invocation, with associated exit code, stderr, etc.
*/
export class CliError extends Error {
public readonly exitCode: number;
public readonly exitCode: number | undefined;
public readonly stderr: string;
constructor({ cmd, args, exitCode, stderr }: CommandInvocationError) {