From 4dea23c3781445e0efa359fcda01f4ec04c80e49 Mon Sep 17 00:00:00 2001 From: Bart Breen Date: Thu, 2 Sep 2021 21:51:05 +1000 Subject: [PATCH] Fixed prettier error Signed-off-by: Bart Breen --- .../processors/BitbucketDiscoveryProcessor.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/catalog-backend/src/ingestion/processors/BitbucketDiscoveryProcessor.ts b/plugins/catalog-backend/src/ingestion/processors/BitbucketDiscoveryProcessor.ts index 4784aee2ea..fc3898f066 100644 --- a/plugins/catalog-backend/src/ingestion/processors/BitbucketDiscoveryProcessor.ts +++ b/plugins/catalog-backend/src/ingestion/processors/BitbucketDiscoveryProcessor.ts @@ -224,9 +224,11 @@ export async function readBitbucketCloud( return result; } -function parseUrl( - urlString: string, -): { projectSearchPath: RegExp; repoSearchPath: RegExp; catalogPath: string } { +function parseUrl(urlString: string): { + projectSearchPath: RegExp; + repoSearchPath: RegExp; + catalogPath: string; +} { const url = new URL(urlString); const path = url.pathname.substr(1).split('/'); @@ -251,9 +253,7 @@ function readPathParameters(pathParts: string[]): Map { return new Map(Object.entries(vals)); } -function parseBitbucketCloudUrl( - urlString: string, -): { +function parseBitbucketCloudUrl(urlString: string): { workspacePath: string; catalogPath: string; projectSearchPath?: RegExp;