From e0908c08dcf50a6dd767de784846f0212fc5967e Mon Sep 17 00:00:00 2001 From: Cory Miller <13227161+cory-miller@users.noreply.github.com> Date: Thu, 18 Apr 2024 15:12:57 -0400 Subject: [PATCH] Update src/url-helper.ts Co-authored-by: Josh Gross --- src/url-helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/url-helper.ts b/src/url-helper.ts index 1b55aac..64ecbf3 100644 --- a/src/url-helper.ts +++ b/src/url-helper.ts @@ -12,7 +12,7 @@ export function getFetchUrl(settings: IGitSourceSettings): string { const encodedOwner = encodeURIComponent(settings.repositoryOwner) const encodedName = encodeURIComponent(settings.repositoryName) if (settings.sshKey) { - let user = settings.sshUser.length > 0 ? settings.sshUser : 'git' + const user = settings.sshUser.length > 0 ? settings.sshUser : 'git' return `${user}@${serviceUrl.hostname}:${encodedOwner}/${encodedName}.git` }