From 2f1a0e944c4782632ab771d815173f188f6f6d5e Mon Sep 17 00:00:00 2001 From: blam Date: Tue, 24 Sep 2024 10:58:43 +0200 Subject: [PATCH] chore: fix prettier\ Signed-off-by: blam --- .../src/actions/bitbucketServerPullRequest.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/scaffolder-backend-module-bitbucket-server/src/actions/bitbucketServerPullRequest.ts b/plugins/scaffolder-backend-module-bitbucket-server/src/actions/bitbucketServerPullRequest.ts index 51d097410b..fe79935a1d 100644 --- a/plugins/scaffolder-backend-module-bitbucket-server/src/actions/bitbucketServerPullRequest.ts +++ b/plugins/scaffolder-backend-module-bitbucket-server/src/actions/bitbucketServerPullRequest.ts @@ -237,7 +237,7 @@ const getDefaultBranch = async (opts: { } return defaultBranch; }; -const isApiBaseUrlHttps = (apiBaseUrl: string) : boolean => { +const isApiBaseUrlHttps = (apiBaseUrl: string): boolean => { const url = new URL(apiBaseUrl); return url.protocol === 'https:'; }; @@ -406,7 +406,9 @@ export function createPublishBitbucketServerPullRequestAction(options: { }); const isHttps: boolean = isApiBaseUrlHttps(apiBaseUrl); - const remoteUrl = `${isHttps ? 'https' : 'http' }://${host}/scm/${project}/${repo}.git`; + const remoteUrl = `${ + isHttps ? 'https' : 'http' + }://${host}/scm/${project}/${repo}.git`; const auth = authConfig.token ? {