From cbc20272f1800985cc5cafe029563bc590cca1ea Mon Sep 17 00:00:00 2001 From: George Karan Date: Thu, 17 Oct 2024 09:11:06 -0300 Subject: [PATCH] Fix code style (#435) --- src/contentFetcher.ts | 1 - src/logging/consoleLogger.ts | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contentFetcher.ts b/src/contentFetcher.ts index cbba7fb7..233dfd31 100644 --- a/src/contentFetcher.ts +++ b/src/contentFetcher.ts @@ -128,7 +128,6 @@ export class ContentFetcher { throw new Error('The API key must be provided to fetch static content.'); } - return new Promise>((resolve, reject) => { const abortController = new AbortController(); const timeout = options.timeout ?? this.configuration.defaultTimeout; diff --git a/src/logging/consoleLogger.ts b/src/logging/consoleLogger.ts index 2602a10e..6b70f349 100644 --- a/src/logging/consoleLogger.ts +++ b/src/logging/consoleLogger.ts @@ -1,3 +1,4 @@ +/* eslint-disable no-console -- This is a logging utility */ import {Logger} from './logger'; type ConsoleMethod = {