Fixed prettier error

Signed-off-by: Bart Breen <bart.breen@twobulls.com>
This commit is contained in:
Bart Breen
2021-09-02 21:51:05 +10:00
parent 109578a1e8
commit 4dea23c378
@@ -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<string, string> {
return new Map<string, string>(Object.entries(vals));
}
function parseBitbucketCloudUrl(
urlString: string,
): {
function parseBitbucketCloudUrl(urlString: string): {
workspacePath: string;
catalogPath: string;
projectSearchPath?: RegExp;