From 619278d2f5c3acf097ece6daf7c32958ad2fc9b7 Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Sat, 15 Jun 2024 21:01:34 -0400 Subject: [PATCH] chore: build --- dist/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/index.js b/dist/index.js index 67752ae..4745f1f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1153,7 +1153,7 @@ const urlHelper = __importStar(__nccwpck_require__(9437)); function getSource(settings) { return __awaiter(this, void 0, void 0, function* () { // Repository URL - core.info(`Syncing repository: ${settings.repositoryOwner}/${settings.repositoryName}`); + core.info(`FOCS ver Syncing repository: ${settings.repositoryOwner}/${settings.repositoryName}`); const repositoryUrl = urlHelper.getFetchUrl(settings); // Remove conflicting file path if (fsHelper.fileExistsSync(settings.repositoryPath)) { @@ -2371,10 +2371,10 @@ function getFetchUrl(settings) { const encodedOwner = encodeURIComponent(settings.repositoryOwner); const encodedName = encodeURIComponent(settings.repositoryName); if (settings.sshKey) { - return `git@${serviceUrl.hostname}:${encodedOwner}/${encodedName}.git`; + return `git@${serviceUrl.hostname}:2222/${encodedOwner}/${encodedName}.git`; } // "origin" is SCHEME://HOSTNAME[:PORT] - return `${serviceUrl.origin}/${encodedOwner}/${encodedName}`; + return `${serviceUrl.origin}/git/${encodedOwner}/${encodedName}`; } exports.getFetchUrl = getFetchUrl; function getServerUrl(url) {