From 5ed11e7d56cef561bf1d98a465e899895898a775 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sun, 12 Jan 2025 23:48:25 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../handlers/file-manager/file-arch/index.ts | 9 +++++++-- backend/src/build-system/retry-handler.ts | 1 - 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/backend/src/build-system/handlers/file-manager/file-arch/index.ts b/backend/src/build-system/handlers/file-manager/file-arch/index.ts index 648b256..5255e0c 100644 --- a/backend/src/build-system/handlers/file-manager/file-arch/index.ts +++ b/backend/src/build-system/handlers/file-manager/file-arch/index.ts @@ -7,7 +7,10 @@ import { formatResponse, parseGenerateTag, } from 'src/build-system/utils/strings'; -import { NonRetryableError, RetryableError } from 'src/build-system/retry-handler'; +import { + NonRetryableError, + RetryableError, +} from 'src/build-system/retry-handler'; export class FileArchGenerateHandler implements BuildHandler { readonly id = 'op:FILE:ARCH'; @@ -70,7 +73,9 @@ export class FileArchGenerateHandler implements BuildHandler { this.logger.error('Non-retryable error encountered:', error); return { success: false, - error: new NonRetryableError('Unexpected error during JSON processing'), + error: new NonRetryableError( + 'Unexpected error during JSON processing', + ), }; } } diff --git a/backend/src/build-system/retry-handler.ts b/backend/src/build-system/retry-handler.ts index c61f911..05555aa 100644 --- a/backend/src/build-system/retry-handler.ts +++ b/backend/src/build-system/retry-handler.ts @@ -1,6 +1,5 @@ import { Logger } from '@nestjs/common'; - export class RetryableError extends Error { constructor(message: string) { super(message);