From 2bf71d60fbc74714e4a9ea15ed1c898f948a2b22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Thu, 10 Dec 2020 11:23:02 +0100 Subject: [PATCH] catalog-backend: get rid of winston warnings --- .../src/ingestion/processors/CodeOwnersProcessor.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/catalog-backend/src/ingestion/processors/CodeOwnersProcessor.test.ts b/plugins/catalog-backend/src/ingestion/processors/CodeOwnersProcessor.test.ts index 068a1e6e9a..be4f15e501 100644 --- a/plugins/catalog-backend/src/ingestion/processors/CodeOwnersProcessor.test.ts +++ b/plugins/catalog-backend/src/ingestion/processors/CodeOwnersProcessor.test.ts @@ -14,9 +14,9 @@ * limitations under the License. */ +import { getVoidLogger } from '@backstage/backend-common'; import { LocationSpec } from '@backstage/catalog-model'; import { CodeOwnersEntry } from 'codeowners-utils'; -import { createLogger } from 'winston'; import { buildCodeOwnerUrl, buildUrl, @@ -28,7 +28,7 @@ import { resolveCodeOwner, } from './CodeOwnersProcessor'; -const logger = createLogger(); +const logger = getVoidLogger(); describe('CodeOwnersProcessor', () => { const mockUrl = ({ basePath = '' } = {}): string =>