From 727e66aeb60258c04399defdd56585b159f1e3aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Tunkl?= Date: Tue, 23 Aug 2022 12:50:27 +0200 Subject: [PATCH] Applied prettier on files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomáš Tunkl --- .../src/components/EntityRefLink/humanize.test.ts | 6 ++++-- .../catalog-react/src/components/EntityRefLink/humanize.ts | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/plugins/catalog-react/src/components/EntityRefLink/humanize.test.ts b/plugins/catalog-react/src/components/EntityRefLink/humanize.test.ts index ac873b5140..9f08290095 100644 --- a/plugins/catalog-react/src/components/EntityRefLink/humanize.test.ts +++ b/plugins/catalog-react/src/components/EntityRefLink/humanize.test.ts @@ -47,7 +47,7 @@ describe('humanizeEntityRef', () => { lifecycle: 'production', }, }; - const title = humanizeEntityRef(entity, {skipDefaultNamespace: false}); + const title = humanizeEntityRef(entity, { skipDefaultNamespace: false }); expect(title).toEqual('component:default/software'); }); @@ -128,7 +128,9 @@ describe('humanizeEntityRef', () => { name: 'software', }; - const title = humanizeEntityRef(entityName, {skipDefaultNamespace: false}); + const title = humanizeEntityRef(entityName, { + skipDefaultNamespace: false, + }); expect(title).toEqual('component:default/software'); }); }); diff --git a/plugins/catalog-react/src/components/EntityRefLink/humanize.ts b/plugins/catalog-react/src/components/EntityRefLink/humanize.ts index bbf826ecb2..bd97ce2548 100644 --- a/plugins/catalog-react/src/components/EntityRefLink/humanize.ts +++ b/plugins/catalog-react/src/components/EntityRefLink/humanize.ts @@ -24,8 +24,8 @@ import { export function humanizeEntityRef( entityRef: Entity | CompoundEntityRef, opts?: { - defaultKind?: string - skipDefaultNamespace?: boolean + defaultKind?: string; + skipDefaultNamespace?: boolean; }, ) { const defaultKind = opts?.defaultKind;