chore: fix prettier\

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-09-24 10:58:43 +02:00
parent b1e5501b90
commit 2f1a0e944c
@@ -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
? {