Compare commits
No commits in common. "main-jw" and "main" have entirely different histories.
1 changed files with 2 additions and 1 deletions
3
dist/index.js
vendored
3
dist/index.js
vendored
|
|
@ -2730,7 +2730,8 @@ function getFetchUrl(settings) {
|
|||
const user = settings.sshUser.length > 0 ? settings.sshUser : 'git';
|
||||
return `${user}@${serviceUrl.hostname}:${encodedOwner}/${encodedName}.git`;
|
||||
}
|
||||
return `${serviceUrl}/${encodedOwner}/${encodedName}`;
|
||||
// "origin" is SCHEME://HOSTNAME[:PORT]
|
||||
return `${serviceUrl.origin}/${encodedOwner}/${encodedName}`;
|
||||
}
|
||||
function getServerUrl(url) {
|
||||
let resolvedUrl = process.env['GITHUB_SERVER_URL'] || 'https://github.com';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue