diff --git a/src/balena-utils.ts b/src/balena-utils.ts index 1b7b9c90..099e1b0d 100644 --- a/src/balena-utils.ts +++ b/src/balena-utils.ts @@ -270,7 +270,7 @@ export async function finalize(releaseId: number): Promise { function stripAnsi(logLine: string): string { return logLine.replace( - // eslint-disable-next-line no-control-regex + // eslint-disable-next-line no-control-regex -- We need to check for ansi control codes specifically /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g, '', );