Add error variable

This commit is contained in:
HaveAGitGat 2024-06-18 07:56:56 +01:00
parent 3ab3707703
commit b1975b8d65
3 changed files with 7 additions and 0 deletions

View file

@ -188,6 +188,8 @@ class CLI {
this.config.jobLog(`Ratio is greater than threshold: ${thresholdPerc}%, cancelling job`);
this.cancelled = true;
// @ts-expect-error must exist to be here
this.config.args.variables.liveSizeCompare.error = true;
this.killThread();
};

View file

@ -101,6 +101,7 @@ export interface IliveSizeCompare {
compareMethod: string,
thresholdPerc: number,
checkDelaySeconds: number,
error: boolean,
}
export interface Ivariables {